Module: GitHub::Client::Octocat
- Included in:
- GitHub::Client
- Defined in:
- lib/github_api_v3/client/octocat.rb
Instance Method Summary collapse
-
#octocat(text = nil) ⇒ String
Retrieve an Octocat with a message of your choice, or one chosen by GitHub.
Instance Method Details
#octocat(text = nil) ⇒ String
Retrieve an Octocat with a message of your choice, or one chosen by GitHub. :)
10 11 12 13 14 |
# File 'lib/github_api_v3/client/octocat.rb', line 10 def octocat(text=nil) = {} [:s] = text if text get "/octocat", params: end |