Class: Vimeo::Simple::Channel
Class Method Summary collapse
-
.info(channelname) ⇒ Object
Returns a channel’s metadata.
-
.videos(channelname) ⇒ Object
Returns a list of a channel’s videos.
Class Method Details
.info(channelname) ⇒ Object
Returns a channel’s metadata.
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.
8 9 10 |
# File 'lib/vimeo/simple/channel.rb', line 8 def self.videos(channelname) get("/channel/#{channelname}/videos.json") end |