Class: LWS::DigitalSignage::Channel::TimeSchedule
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Channel::TimeSchedule
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The channel time schedule class
Defined Under Namespace
Classes: Day
Instance Attribute Summary collapse
-
#channels ⇒ Array<Channel>
The channels using the time schedule.
-
#company ⇒ LWS::Auth::Company
The company the channel time schedule belongs to.
-
#company_id ⇒ Fixnum
The ID of the company the channel time schedule belongs to.
-
#created_at ⇒ String
readonly
The timestamp of when the channel time schedule was created.
-
#days ⇒ Array<Channel::TimeSchedule::Day>
The days included in the channel time schedule.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the channel time schedule.
-
#name ⇒ String
The name of the channel time schedule.
-
#updated_at ⇒ String
readonly
The timestamp of when the channel time schedule was last updated.
Instance Attribute Details
#channels ⇒ Array<Channel>
Returns the channels using the time schedule.
274 275 |
# File 'lib/lws/apps/digital_signage.rb', line 274 has_many :channels, class_name: "LWS::DigitalSignage::Channel", uri: "channel/time_schedules/:time_schedule_id/channels/(:id)" |
#company ⇒ LWS::Auth::Company
Returns the company the channel time schedule belongs to.
266 |
# File 'lib/lws/apps/digital_signage.rb', line 266 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Fixnum
Returns the ID of the company the channel time schedule belongs to.
270 |
# File 'lib/lws/apps/digital_signage.rb', line 270 attribute :company_id |
#created_at ⇒ String (readonly)
Returns the timestamp of when the channel time schedule was created.
289 |
# File 'lib/lws/apps/digital_signage.rb', line 289 attribute :created_at |
#days ⇒ Array<Channel::TimeSchedule::Day>
Returns the days included in the channel time schedule.
280 281 |
# File 'lib/lws/apps/digital_signage.rb', line 280 has_many :days, class_name: "LWS::DigitalSignage::Channel::TimeSchedule::Day", uri: "channel/time_schedules/:time_schedule_id/days/(:id)" |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the channel time schedule.
262 |
# File 'lib/lws/apps/digital_signage.rb', line 262 attribute :id |
#name ⇒ String
Returns the name of the channel time schedule.
285 |
# File 'lib/lws/apps/digital_signage.rb', line 285 attribute :name |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the channel time schedule was last updated.
293 |
# File 'lib/lws/apps/digital_signage.rb', line 293 attribute :updated_at |