Class: SyoboiCalendar::Resources::Channel
- Inherits:
-
Base
- Object
- Base
- SyoboiCalendar::Resources::Channel
show all
- Defined in:
- lib/syoboi_calendar/resources/channel.rb
Instance Attribute Summary
Attributes inherited from Base
#response
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #updated_at
Instance Method Details
4
5
6
|
# File 'lib/syoboi_calendar/resources/channel.rb', line 4
def
response.ChComment
end
|
#epg_url ⇒ Object
8
9
10
|
# File 'lib/syoboi_calendar/resources/channel.rb', line 8
def epg_url
response.ChEPGURL
end
|
#group_id ⇒ Object
12
13
14
|
# File 'lib/syoboi_calendar/resources/channel.rb', line 12
def group_id
response.ChGID.try(:to_i)
end
|
#id ⇒ Object
16
17
18
|
# File 'lib/syoboi_calendar/resources/channel.rb', line 16
def id
response.ChID.try(:to_i)
end
|
#iepg_name ⇒ Object
32
33
34
|
# File 'lib/syoboi_calendar/resources/channel.rb', line 32
def iepg_name
response.ChiEPGName
end
|
#name ⇒ Object
20
21
22
|
# File 'lib/syoboi_calendar/resources/channel.rb', line 20
def name
response.ChName
end
|
#number ⇒ Object
24
25
26
|
# File 'lib/syoboi_calendar/resources/channel.rb', line 24
def number
response.ChNumber.try(:to_i)
end
|
#url ⇒ Object
28
29
30
|
# File 'lib/syoboi_calendar/resources/channel.rb', line 28
def url
response.ChURL
end
|