lib/film_on/services/groups.rb
# groups: will get the entire current list of groups for
# FilmOn, each group holds an array of ids of associated channels
#
will get the entire current list of groups for
FilmOn, each group holds an array of ids of associated channels
will get the entire current list of groups for FilmOn each group holds an array of ids of associated channels
def groups(opts={})
        return @groups if @groups && !opts[:json]
        json = get("groups")
        if opts[:json]
          return json
        end
        @groups = convert_groups(json)
      end
def groups ( opts = { } ) return @groups if @groups && ! opts [ :json ] json = get ( "groups" ) if opts [ :json ] return json end @groups = convert_groups ( json ) end
groups: will get the entire current list of groups for
FilmOn, each group holds an array of ids of associated channels
groups : will get the entire current list of groups for FilmOn each group holds an array of ids of associated channels
opts
<not_specific>