Sha256: 971a7c8cbbe9c96673c30a5a22a6d0314e36181bb1c42c21b8967bf33f9364d8

Contents?: true

Size: 467 Bytes

Versions: 7

Compression:

Stored size: 467 Bytes

Contents

# encoding: utf-8

module Github
  class Say < API

    # Generate ASCII octocat with speech bubble.
    #
    # = Examples
    #  Github::Say.new.say "My custom string..."
    #
    #  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

7 entries across 7 versions & 1 rubygems

Version Path
github_api-0.11.3 lib/github_api/say.rb
github_api-0.11.2 lib/github_api/say.rb
github_api-0.11.1 lib/github_api/say.rb
github_api-0.11.0 lib/github_api/say.rb
github_api-0.10.2 lib/github_api/say.rb
github_api-0.10.1 lib/github_api/say.rb
github_api-0.10.0 lib/github_api/say.rb