Sha256: 1509042a3cdc0ef7d81e2a0547339529fde862fa1d9a48b279a23219212cb87b

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

module KewegoParty
  class Client
    module ChannelList

      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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kewego_party-0.0.1 lib/kewego_party/client/channel_list.rb