Class: Vimeo::Simple::Activity
- Defined in:
- lib/vimeo/simple/activity.rb
Class Method Summary collapse
-
.contacts_did(username) ⇒ Object
Returns a list of activities a user’s contact’s did.
-
.everyone_did(username) ⇒ Object
Returns a list of activities everyone did.
-
.happened_to_contacts(username) ⇒ Object
Returns a list of activities that happened to a user’s contacts.
-
.happened_to_user(username) ⇒ Object
Returns a list of activities that happened to a user.
-
.user_did(username) ⇒ Object
Returns a list of a user’s activities.
Class Method Details
.contacts_did(username) ⇒ Object
Returns a list of activities a user’s contact’s did.
22 23 24 |
# File 'lib/vimeo/simple/activity.rb', line 22 def self.contacts_did(username) get("/activity/#{username}/contacts_did.json") end |
.everyone_did(username) ⇒ Object
Returns a list of activities everyone did.
36 37 38 |
# File 'lib/vimeo/simple/activity.rb', line 36 def self.everyone_did(username) get("/activity/#{username}/everyone_did.json") end |
.happened_to_contacts(username) ⇒ Object
Returns a list of activities that happened to a user’s contacts.
29 30 31 |
# File 'lib/vimeo/simple/activity.rb', line 29 def self.happened_to_contacts(username) get("/activity/#{username}/happened_to_contacts.json") end |
.happened_to_user(username) ⇒ Object
Returns a list of activities that happened to a user.
15 16 17 |
# File 'lib/vimeo/simple/activity.rb', line 15 def self.happened_to_user(username) get("/activity/#{username}/happened_to_user.json") end |
.user_did(username) ⇒ Object
Returns a list of a user’s activities.
8 9 10 |
# File 'lib/vimeo/simple/activity.rb', line 8 def self.user_did(username) get("/activity/#{username}/user_did.json") end |