Module: KewegoParty::Client::ChannelList

Included in:
KewegoParty::Client
Defined in:
lib/kewego_party/client/channel_list.rb

Instance Method Summary collapse

Instance Method Details

#channel_list_get_channels(lsig, options = {}) ⇒ Object



5
6
7
8
9
# File 'lib/kewego_party/client/channel_list.rb', line 5

def channel_list_get_channels(lsig, options = {})
  options = {:start => 0, :max_result_per_page => 100, :lsig => lsig, :appToken  => app_token}.merge options
  response = get("/channelList/getChannels/", options)
  process_response(response, [:channels])
end

#channel_list_get_details(lsig) ⇒ Object



11
12
13
14
15
# File 'lib/kewego_party/client/channel_list.rb', line 11

def channel_list_get_details(lsig)
  options = {:lsig => lsig, :appToken  => app_token}
  response = get("/channelList/getDetails/", options)
  process_response(response, [])
end