Sha256: 2e6b73d90253771001ff966273667cef24ca2ac18defbfe1d30ecbfa01f690ec

Contents?: true

Size: 495 Bytes

Versions: 16

Compression:

Stored size: 495 Bytes

Contents

# encoding: utf-8

module Github
  class Client::Say < API

    # Generate ASCII octocat with speech bubble.
    #
    # @example
    #  Github::Client::Say.new.say "My custom string..."
    #
    # @example
    #  github = Github.new
    #  github.octocat.say "My custom string..."
    #
    def say(*args)
      params = arguments(*args).params
      params[:s] = args.shift unless args.empty?
      params['raw'] = true

      get_request('/octocat', params)
    end
  end # Say
end # Github

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
github_api-0.17.0 lib/github_api/client/say.rb
github_api-0.16.0 lib/github_api/client/say.rb
github_api-0.15.0 lib/github_api/client/say.rb
github_api-0.14.5 lib/github_api/client/say.rb
github_api-0.14.4 lib/github_api/client/say.rb
github_api-0.14.3 lib/github_api/client/say.rb
github_api-0.14.2 lib/github_api/client/say.rb
github_api-0.14.1 lib/github_api/client/say.rb
github_api-0.14.0 lib/github_api/client/say.rb
github_api-0.13.1 lib/github_api/client/say.rb
github_api-0.13.0 lib/github_api/client/say.rb
github_api-0.12.4 lib/github_api/client/say.rb
github_api-0.12.3 lib/github_api/client/say.rb
github_api-0.12.2 lib/github_api/client/say.rb
github_api-0.12.1 lib/github_api/client/say.rb
github_api-0.12.0 lib/github_api/client/say.rb