Method: Github::Client::Say#say

Defined in:
lib/github_api/client/say.rb

#say(*args) ⇒ Object

Generate ASCII octocat with speech bubble.

Examples:

Github::Client::Say.new.say "My custom string..."
github = Github.new
github.octocat.say "My custom string..."


17
18
19
20
21
22
23
# File 'lib/github_api/client/say.rb', line 17

def say(*args)
  params = arguments(*args).params
  params[:s] = args.shift unless args.empty?
  params['raw'] = true

  get_request('/octocat', params)
end