Sha256: 049cc2ab7bfabbb44ce129aa5829ee6885802cb0ffd232d792bae02820178f97

Contents?: true

Size: 389 Bytes

Versions: 24

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

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

24 entries across 24 versions & 2 rubygems

Version Path
octokit-9.2.0 lib/octokit/client/say.rb
octokit-9.1.0 lib/octokit/client/say.rb
octokit-9.0.0 lib/octokit/client/say.rb
octokit-8.1.0 lib/octokit/client/say.rb
octokit-8.0.0 lib/octokit/client/say.rb
octokit-7.2.0 lib/octokit/client/say.rb
octokit-7.1.0 lib/octokit/client/say.rb
octokit-7.0.0 lib/octokit/client/say.rb
octokit-6.1.1 lib/octokit/client/say.rb
octokit-6.1.0 lib/octokit/client/say.rb
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/octokit-4.25.1/lib/octokit/client/say.rb
octokit-6.0.1 lib/octokit/client/say.rb
octokit-6.0.0 lib/octokit/client/say.rb
octokit-5.6.1 lib/octokit/client/say.rb
octokit-5.6.0 lib/octokit/client/say.rb
octokit-5.5.0 lib/octokit/client/say.rb
octokit-5.4.0 lib/octokit/client/say.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/octokit-5.3.0/lib/octokit/client/say.rb
octokit-5.3.0 lib/octokit/client/say.rb
octokit-5.2.0 lib/octokit/client/say.rb