class SyoboiCalendar::Resources::ChannelResource

Public Instance Methods

channel_group_id() click to toggle source

@return [Integer, nil]

# File lib/syoboi_calendar/resources/channel_resource.rb, line 5
def channel_group_id
  if source["ChGID"]
    source["ChGID"].to_i
  end
end
comment() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/resources/channel_resource.rb, line 12
def comment
  source["ChComment"]
end
epg_url() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/resources/channel_resource.rb, line 17
def epg_url
  source["ChEPGURL"]
end
id() click to toggle source

@return [Integer, nil]

# File lib/syoboi_calendar/resources/channel_resource.rb, line 22
def id
  if source["ChID"]
    source["ChID"].to_i
  end
end
iepg_name() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/resources/channel_resource.rb, line 29
def iepg_name
  source["ChiEPGName"]
end
name() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/resources/channel_resource.rb, line 34
def name
  source["ChName"]
end
number() click to toggle source

@return [Integer, nil]

# File lib/syoboi_calendar/resources/channel_resource.rb, line 39
def number
  if source["ChNumber"]
    source["ChNumber"].to_i
  end
end
url() click to toggle source

@return [String, nil]

# File lib/syoboi_calendar/resources/channel_resource.rb, line 46
def url
  source["ChURL"]
end