Sha256: 10654d26eb5ea5e2f6cacfa61e8fe8397402d3199f0974ab5f549c3369606c07

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

module Octokit
  class Client
    module Timelines
      def timeline(options={})
        path = "/timeline.json"
        get(path, options, 2, false)
      end

      def user_timeline(username=login, options={})
        if token
          path = "/#{username}.private.json"
          options[:token] = token
        else
          path = "/#{username}.json"
        end
        get(path, options, 2, false)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
octokit-0.6.4 lib/octokit/client/timelines.rb