Class: LWS::DigitalSignage::Channel::TimeScheduleOverride
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Channel::TimeScheduleOverride
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The channel time override schedule class
Instance Attribute Summary collapse
-
#channel_groups ⇒ Array<Channel::Group>
The channel groups using the time schedule override.
-
#channels ⇒ Array<Channel>
The channels using the time schedule override.
-
#company ⇒ LWS::Auth::Company
The company the channel time schedule override belongs to.
-
#company_id ⇒ Integer
The ID of the company the channel time schedule override belongs to.
-
#end ⇒ String
The end date (inclusive) of the channel time schedule override.
-
#name ⇒ String
The name of the channel time schedule override.
-
#shutdown ⇒ String
The shutdown time of the channel.
-
#start ⇒ String
The start date of the channel time schedule override.
-
#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
#channel_groups ⇒ Array<Channel::Group>
Returns the channel groups using the time schedule override.
335 336 |
# File 'lib/lws/apps/digital_signage.rb', line 335 has_many :groups, class_name: "LWS::DigitalSignage::Channel::Group", uri: "channel/time_schedule_overrides/:time_schedule_override_id/groups(/:id)" |
#channels ⇒ Array<Channel>
Returns the channels using the time schedule override.
318 319 |
# File 'lib/lws/apps/digital_signage.rb', line 318 has_many :channels, class_name: "LWS::DigitalSignage::Channel", uri: "channel/time_schedule_overrides/:time_schedule_override_id/channels(/:id)" |
#company ⇒ LWS::Auth::Company
Returns the company the channel time schedule override belongs to.
323 |
# File 'lib/lws/apps/digital_signage.rb', line 323 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
Returns the ID of the company the channel time schedule override belongs to.
327 |
# File 'lib/lws/apps/digital_signage.rb', line 327 attribute :company_id |
#end ⇒ String
Returns the end date (inclusive) of the channel time schedule override.
331 |
# File 'lib/lws/apps/digital_signage.rb', line 331 attribute :end |
#name ⇒ String
Returns the name of the channel time schedule override.
340 |
# File 'lib/lws/apps/digital_signage.rb', line 340 attribute :name |
#shutdown ⇒ String
Returns the shutdown time of the channel.
344 |
# File 'lib/lws/apps/digital_signage.rb', line 344 attribute :shutdown |
#start ⇒ String
Returns the start date of the channel time schedule override.
348 |
# File 'lib/lws/apps/digital_signage.rb', line 348 attribute :start |
#wakeup ⇒ String
Returns the wakeup time of the channel.
352 |
# File 'lib/lws/apps/digital_signage.rb', line 352 attribute :wakeup |