Class: Vimeo::Simple::User
Class Method Summary collapse
-
.albums(username) ⇒ Object
Returns a list of a user’s albums.
-
.all_videos(username) ⇒ Object
Returns a list of all videos that are related to a user.
-
.appears_in(username) ⇒ Object
Returns a list of the videos a user appears in.
-
.channels(username) ⇒ Object
Returns a list of a user’s channels.
-
.contacts_like(username) ⇒ Object
Returns a list of videos that a user’s contacts liked.
-
.contacts_videos(username) ⇒ Object
Returns a list of a user’s contact’s videos.
-
.groups(username) ⇒ Object
Returns a list of a user’s groups.
-
.info(username) ⇒ Object
Returns a user’s metadata.
-
.likes(username) ⇒ Object
Returns a list of a user’s liked videos.
-
.subscriptions(username) ⇒ Object
Returns a list of a user’s subscriptions.
-
.videos(username) ⇒ Object
Returns a list of a user’s videos.
Class Method Details
.albums(username) ⇒ Object
Returns a list of a user’s albums.
50 51 52 |
# File 'lib/vimeo/simple/user.rb', line 50 def self.albums(username) get("/#{username}/albums.json") end |
.all_videos(username) ⇒ Object
Returns a list of all videos that are related to a user.
36 37 38 |
# File 'lib/vimeo/simple/user.rb', line 36 def self.all_videos(username) get("/#{username}/all_videos.json") end |
.appears_in(username) ⇒ Object
Returns a list of the videos a user appears in.
29 30 31 |
# File 'lib/vimeo/simple/user.rb', line 29 def self.appears_in(username) get("/#{username}/appears_in.json") end |
.channels(username) ⇒ Object
Returns a list of a user’s channels.
57 58 59 |
# File 'lib/vimeo/simple/user.rb', line 57 def self.channels(username) get("/#{username}/channels.json") end |
.contacts_like(username) ⇒ Object
Returns a list of videos that a user’s contacts liked.
78 79 80 |
# File 'lib/vimeo/simple/user.rb', line 78 def self.contacts_like(username) get("/#{username}/contacts_like.json") end |
.contacts_videos(username) ⇒ Object
Returns a list of a user’s contact’s videos.
71 72 73 |
# File 'lib/vimeo/simple/user.rb', line 71 def self.contacts_videos(username) get("/#{username}/contacts_videos.json") end |
.groups(username) ⇒ Object
Returns a list of a user’s groups.
64 65 66 |
# File 'lib/vimeo/simple/user.rb', line 64 def self.groups(username) get("/#{username}/groups.json") end |
.info(username) ⇒ Object
Returns a user’s metadata.
8 9 10 |
# File 'lib/vimeo/simple/user.rb', line 8 def self.info(username) get("/#{username}/info.json") end |
.likes(username) ⇒ Object
Returns a list of a user’s liked videos.
22 23 24 |
# File 'lib/vimeo/simple/user.rb', line 22 def self.likes(username) get("/#{username}/likes.json") end |
.subscriptions(username) ⇒ Object
Returns a list of a user’s subscriptions.
43 44 45 |
# File 'lib/vimeo/simple/user.rb', line 43 def self.subscriptions(username) get("/#{username}/subscriptions.json") end |
.videos(username) ⇒ Object
Returns a list of a user’s videos.
15 16 17 |
# File 'lib/vimeo/simple/user.rb', line 15 def self.videos(username) get("/#{username}/videos.json") end |