Class: Ikbis::Simple::Channel
Class Method Summary collapse
- .info(id, response = 'xml') ⇒ Object
- .subscribers(id, response = 'xml') ⇒ Object
- .videos(id, response = 'xml', page = 1) ⇒ Object
Class Method Details
.info(id, response = 'xml') ⇒ Object
8 9 10 |
# File 'lib/ikbis/simple/channel.rb', line 8 def self.info(id, response='xml') get("/#{id}.#{response}") end |
.subscribers(id, response = 'xml') ⇒ Object
16 17 18 |
# File 'lib/ikbis/simple/channel.rb', line 16 def self.subscribers(id, response='xml') get("/#{id}/subscribers.#{response}") end |
.videos(id, response = 'xml', page = 1) ⇒ Object
12 13 14 |
# File 'lib/ikbis/simple/channel.rb', line 12 def self.videos(id, response='xml', page=1) get("/#{id}/videos.#{response}?page=#{page}") end |