Sha256: ebd9ce39e047928dcbf6ab6b2c2b73b7ff186f2e00f5bb47433b5840a6695dd8

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

module Octokit
  class Client

    # Methods for the unpublished Octocat API
    module Say

      # Return a nifty ASCII Octocat with GitHub wisdom
      # or your own
      # 
      # @return [String]
      def say(text=nil)
        options = {}
        options[:s] = text if text
        get "octocat", options
      end
      alias :octocat :say

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
octokit-2.0.0.pre lib/octokit/client/say.rb