Sha256: a59a20e267c388d45a270bf4f0a26db2e33fa50342d0b8aabfcb910d47120d62

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 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.3 lib/octokit/client/timelines.rb