Class: Vimeo::Simple::Channel

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

Class Method Summary collapse

Class Method Details

.info(channelname) ⇒ Object

Returns a channel’s metadata.

Parameters:

  • channelname (String)

    The channel’s name.



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

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

.videos(channelname) ⇒ Object

Returns a list of a channel’s videos.

Parameters:

  • channelname (String)

    The channel’s name.



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

def self.videos(channelname)
  get("/channel/#{channelname}/videos.json")
end