Class: LWS::DigitalSignage::Channel::TimeSchedule::Day
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Channel::TimeSchedule::Day
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
Note:
This class is only used within the context of the LWS::DigitalSignage::Channel::TimeSchedule class.
The channel time schedule day class
Instance Attribute Summary collapse
-
#day ⇒ Integer
The ID of the day of the channel time schedule (0 = Sunday, 1 = Monday, …, 6 = Saturday).
-
#shutdown ⇒ String
The shutdown time of the channel.
-
#time_schedule ⇒ Channel::TimeSchedule
The time schedule the day belongs to.
-
#time_schedule_id ⇒ Integer
The ID of the time schedule the day belongs to.
-
#wakeup ⇒ String
The wakeup time of the channel.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#day ⇒ Integer
Returns the ID of the day of the channel time schedule (0 = Sunday, 1 = Monday, …, 6 = Saturday).
341 |
# File 'lib/lws/apps/digital_signage.rb', line 341 attribute :day |
#shutdown ⇒ String
Returns the shutdown time of the channel.
345 |
# File 'lib/lws/apps/digital_signage.rb', line 345 attribute :shutdown |
#time_schedule ⇒ Channel::TimeSchedule
Returns the time schedule the day belongs to.
349 350 |
# File 'lib/lws/apps/digital_signage.rb', line 349 belongs_to :time_schedule, class_name: "LWS::DigitalSignage::Channel::TimeSchedule", uri: "channel/time_schedules/:id" |
#time_schedule_id ⇒ Integer
Returns the ID of the time schedule the day belongs to.
354 |
# File 'lib/lws/apps/digital_signage.rb', line 354 attribute :time_schedule_id |
#wakeup ⇒ String
Returns the wakeup time of the channel.
358 |
# File 'lib/lws/apps/digital_signage.rb', line 358 attribute :wakeup |