Module: Rubygems::API::Activities
- Included in:
- Client
- Defined in:
- lib/rubygems_api/actions/activities.rb
Overview
Method relating to RubyGems Activity
Instance Method Summary collapse
- #just_updated(format = 'json', args = {}) ⇒ Object
- #latest_activity(format = 'json', args = {}) ⇒ Object
- #rubygems_total_downloads(format = 'json', args = {}) ⇒ Object
Instance Method Details
#just_updated(format = 'json', args = {}) ⇒ Object
13 14 15 |
# File 'lib/rubygems_api/actions/activities.rb', line 13 def just_updated(format = 'json', args = {}) get("activity/just_updated.#{format}", format, nil, args) end |
#latest_activity(format = 'json', args = {}) ⇒ Object
9 10 11 |
# File 'lib/rubygems_api/actions/activities.rb', line 9 def latest_activity(format = 'json', args = {}) get("activity/latest.#{format}", format, nil, args) end |
#rubygems_total_downloads(format = 'json', args = {}) ⇒ Object
5 6 7 |
# File 'lib/rubygems_api/actions/activities.rb', line 5 def rubygems_total_downloads(format = 'json', args = {}) get("downloads.#{format}", format, nil, args) end |