Sha256: 7fbfc461f7621b4609dd645a0e03a3665d0d95b9ba8da4763b79bca3a2e6ca96
Contents?: true
Size: 863 Bytes
Versions: 6
Compression:
Stored size: 863 Bytes
Contents
module FilmOn # Group is a group of channels bundled together # such as "Sports" or "UK Live TV" # takes a raw hash and converts it into a nice ruby # object class Group attr_reader :group_id, :id, :title, :group, :original_name, :alias, :description attr_reader :weight, :logo_uri, :logo_148x148_uri, :logos, :channels, :channels_count def initialize(hash) @group_id = hash["group_id"] @id = hash["id"] @title = hash["title"] @group = hash["group"] @original_name = hash["original_name"] @alias = hash["alias"] @description = hash["description"] @weight = hash["weight"] @logo_uri = hash["logo_uri"] @logo_148x148_uri = hash["logo_148x148_uri"] @logos = hash["logos"] @channels = hash["channels"] @channels_count = hash["channels_count"] end end end
Version data entries
6 entries across 6 versions & 1 rubygems