lib/isbm_adaptor/channel_management.rb
def get_channels(&block)
      response = @client.call(:get_channels, {}, &block)

      channels = response.to_hash[:get_channels_response][:channel]
      channels = [channels].compact unless channels.is_a?(Array)
      channels.map do |hash|
        IsbmAdaptor::Channel.from_hash(hash)
      end
    end
def get_channels(&block)
      response = @client.call(:get_channels, {}, &block)

      channels = response.to_hash[:get_channels_response][:channel]
      channels = [channels].compact unless channels.is_a?(Array)
      channels.map do |hash|
        IsbmAdaptor::Channel.from_hash(hash)
      end
    end
Gets information about all channels.

 @yield locals local options, including :wsse_auth
 @return [Array<Channel>] all authorized channels on the ISBM