Method: Psapi::Channel.find

Defined in:
lib/psapi/channel.rb

.find(id) ⇒ Object



4
5
6
# File 'lib/psapi/channel.rb', line 4

def self.find(id)
  Channel.new({ 'channelId' => id, 'status' => getChannelStatus(id) }.merge(getChannelInfo(id)))
end