class Github::Say

Public Instance Methods

say(*args) click to toggle source

Generate ASCII octocat with speech bubble.

Examples

Github::Say.new.say "My custom string..."

github = Github.new
github.octocat.say "My custom string..."
# File lib/github_api/say.rb, line 13
def say(*args)
  params = arguments(*args).params
  params[:s] = args.shift unless args.empty?
  params['raw'] = true

  get_request('/octocat', params)
end