Class: SyoboiCalendar::Resources::ChannelGroupResource
- Inherits:
-
BaseResource
- Object
- BaseResource
- SyoboiCalendar::Resources::ChannelGroupResource
show all
- Defined in:
- lib/syoboi_calendar/resources/channel_group_resource.rb
Instance Attribute Summary
Attributes inherited from BaseResource
#response
Instance Method Summary
collapse
#initialize, #updated_at
Instance Method Details
5
6
7
|
# File 'lib/syoboi_calendar/resources/channel_group_resource.rb', line 5
def
response.
end
|
#id ⇒ Integer?
10
11
12
|
# File 'lib/syoboi_calendar/resources/channel_group_resource.rb', line 10
def id
response.ChGID.try(:to_i)
end
|
#name ⇒ String?
15
16
17
|
# File 'lib/syoboi_calendar/resources/channel_group_resource.rb', line 15
def name
response.ChGroupName
end
|
#order_score ⇒ Integer?
20
21
22
|
# File 'lib/syoboi_calendar/resources/channel_group_resource.rb', line 20
def order_score
response.ChGroupOrder.try(:to_i)
end
|