lib/film_on/services/channels.rb
# channel: will get the verbose details for a channel with
# the given id
#
will get the verbose details for a channel with
the given id
will get the verbose details for a channel with the given id
def channel(id, opts={})
        id = id.to_s
        return @channel[id] if @channel[id] && !opts[:json]
        json = get("channel/#{id}")
        if opts[:json]
          return json
        end
        @channel[id] = convert_channel(json)
      end
def channel ( id , opts = { } ) id = id . to_s return @channel [ id ] if @channel [ id ] && ! opts [ :json ] json = get ( "channel/#{id}" ) if opts [ :json ] return json end @channel [ id ] = convert_channel ( json ) end
channel: will get the verbose details for a channel with
the given id
channel : will get the verbose details for a channel with the given id
id
<not_specific>
opts
<not_specific>