Module: Octokit::Client::Timelines
- Included in:
- Octokit::Client
- Defined in:
- lib/octokit/client/timelines.rb
Instance Method Summary collapse
Instance Method Details
#timeline(options = {}) ⇒ Object
5 6 7 8 |
# File 'lib/octokit/client/timelines.rb', line 5 def timeline(={}) path = "https://github.com/timeline.json" get(path, , false, false, false) end |
#user_timeline(username = login, options = {}) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/octokit/client/timelines.rb', line 10 def user_timeline(username=login, ={}) if token path = "https://github.com/#{username}.private.json" [:token] = token else path = "https://github.com/#{username}.json" end get(path, , false, false, false) end |