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