Class: Vimeo::Simple::User

Inherits:
Base
  • Object
show all
Defined in:
lib/vimeo/simple/user.rb

Class Method Summary collapse

Class Method Details

.albums(username) ⇒ Object

Returns this user’s albums.



36
37
38
# File 'lib/vimeo/simple/user.rb', line 36

def self.albums(username)
  get("/#{username}/albums.json")
end

.all_clips(username) ⇒ Object

Returns all clips related to this user.



26
27
28
# File 'lib/vimeo/simple/user.rb', line 26

def self.all_clips(username)
  get("/#{username}/all_clips.json")
end

.appears_in(username) ⇒ Object

Returns the clips this user appears in.



21
22
23
# File 'lib/vimeo/simple/user.rb', line 21

def self.appears_in(username)
  get("/#{username}/appears_in.json")
end

.channels(username) ⇒ Object

Returns this user’s channels.



41
42
43
# File 'lib/vimeo/simple/user.rb', line 41

def self.channels(username)
  get("/#{username}/channels.json")
end

.clips(username) ⇒ Object

Returns this user’s clips.



11
12
13
# File 'lib/vimeo/simple/user.rb', line 11

def self.clips(username)
  get("/#{username}/clips.json")
end

.contacts_clips(username) ⇒ Object

Returns this user’s contact’s clips.



51
52
53
# File 'lib/vimeo/simple/user.rb', line 51

def self.contacts_clips(username)
  get("/#{username}/contacts_clips.json")
end

.contacts_like(username) ⇒ Object

Returns the clips that this user’s contact’s liked.



56
57
58
# File 'lib/vimeo/simple/user.rb', line 56

def self.contacts_like(username)
  get("/#{username}/contacts_like.json")
end

.groups(username) ⇒ Object

Returns this user’s groups.



46
47
48
# File 'lib/vimeo/simple/user.rb', line 46

def self.groups(username)
  get("/#{username}/groups.json")
end

.info(username) ⇒ Object

Returns this user’s information.



6
7
8
# File 'lib/vimeo/simple/user.rb', line 6

def self.info(username)
  get("/#{username}/info.json")
end

.likes(username) ⇒ Object

Returns this user’s liked clips.



16
17
18
# File 'lib/vimeo/simple/user.rb', line 16

def self.likes(username)
  get("/#{username}/likes.json")
end

.subscriptions(username) ⇒ Object

Returns this user’s subscriptions.



31
32
33
# File 'lib/vimeo/simple/user.rb', line 31

def self.subscriptions(username)
  get("/#{username}/subscriptions.json")
end