Class: Vimeo::Simple::Group

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

Class Method Summary collapse

Class Method Details

.info(groupname) ⇒ Object

Returns a group’s metadata.

Parameters:

  • group_name (String)

    The groups’s name.



22
23
24
# File 'lib/vimeo/simple/group.rb', line 22

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

.users(groupname) ⇒ Object

Returns a list of a group’s users.

Parameters:

  • group_name (String)

    The groups’s name.



15
16
17
# File 'lib/vimeo/simple/group.rb', line 15

def self.users(groupname)
  get("/group/#{groupname}/users.json")
end

.videos(groupname) ⇒ Object

Returns a list of a group’s videos.

Parameters:

  • group_name (String)

    The groups’s name.



8
9
10
# File 'lib/vimeo/simple/group.rb', line 8

def self.videos(groupname)
  get("/group/#{groupname}/videos.json")
end