Sha256: e689de6d539feb0ccedbe7946517e048a4b6cb9254b2148a66fe6b89a1847508

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

module Octokit
  class Client
    module Timelines

      def public_timeline(username=login, options={})
        if username.nil?
          path = "timeline.json"
        else
          path = "#{username}.json"
        end
        get(path, options, false, false)
      end

      def timeline(options={})
        get("#{login}.private.json", options, false, false)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octokit-0.4.1 lib/octokit/client/timelines.rb
octokit-0.4.0 lib/octokit/client/timelines.rb