123456789_123456789_123456789_123456789_123456789_

Module: Octokit::Client::Say

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/octokit/client/say.rb

Overview

Methods for the unpublished Octocat API

Instance Method Summary

Instance Method Details

#octocat(text = nil, options = {})

Alias for #say.

[ GitHub ]

  
# File 'lib/octokit/client/say.rb', line 15

alias octocat say

#say(text = nil, options = {}) ⇒ String Also known as: #octocat

Return a nifty ASCII Octocat with GitHub wisdom or your own

[ GitHub ]

  
# File 'lib/octokit/client/say.rb', line 11

def say(text = nil, options = {})
  options[:s] = text if text
  get 'octocat', options
end