Class: SyoboiCalendar::Resources::ChannelResource
Instance Attribute Summary
Attributes inherited from BaseResource
#response
Instance Method Summary
collapse
#initialize, #updated_at
Instance Method Details
#channel_group_id ⇒ Integer?
5
6
7
|
# File 'lib/syoboi_calendar/resources/channel_resource.rb', line 5
def channel_group_id
response.ChGID.try(:to_i)
end
|
10
11
12
|
# File 'lib/syoboi_calendar/resources/channel_resource.rb', line 10
def
response.
end
|
#epg_url ⇒ String?
15
16
17
|
# File 'lib/syoboi_calendar/resources/channel_resource.rb', line 15
def epg_url
response.ChEPGURL
end
|
#id ⇒ Integer?
20
21
22
|
# File 'lib/syoboi_calendar/resources/channel_resource.rb', line 20
def id
response.ChID.try(:to_i)
end
|
#iepg_name ⇒ String?
25
26
27
|
# File 'lib/syoboi_calendar/resources/channel_resource.rb', line 25
def iepg_name
response.ChiEPGName
end
|
#name ⇒ String?
30
31
32
|
# File 'lib/syoboi_calendar/resources/channel_resource.rb', line 30
def name
response.ChName
end
|
#number ⇒ Integer?
35
36
37
|
# File 'lib/syoboi_calendar/resources/channel_resource.rb', line 35
def number
response.ChNumber.try(:to_i)
end
|
#url ⇒ String?
40
41
42
|
# File 'lib/syoboi_calendar/resources/channel_resource.rb', line 40
def url
response.ChURL
end
|