Class: LWS::DigitalSignage::Slide
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Slide
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The slide class
Defined Under Namespace
Classes: Schedule
Instance Attribute Summary collapse
-
#account ⇒ LWS::Auth::Account
The account used for creating the slide.
-
#account_id ⇒ Integer
The ID of the account used for creating the slide.
-
#channel_groups ⇒ Array<Channel::Group>
The channel group the slide is scheduled on.
-
#channels ⇒ Array<Channel>
The channels the slide is scheduled on.
-
#company ⇒ LWS::Auth::Company
The company the slide belongs to.
-
#company_id ⇒ Integer
The ID of the company the slide belongs to.
-
#layout ⇒ LWS::Layout
The layout the slide uses.
-
#layout_id ⇒ Integer
The ID of the layout the slide uses.
-
#name ⇒ String
The name of the slide.
-
#order_priority ⇒ Integer
The order priority within a playlist for a channel.
-
#schedules ⇒ Array<Schedule>
The slide schedules that apply for the slide.
-
#status ⇒ "initializing", ...
readonly
The status of the slide.
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
#account ⇒ LWS::Auth::Account
Returns the account used for creating the slide.
1673 |
# File 'lib/lws/apps/digital_signage.rb', line 1673 belongs_to :account, class_name: "LWS::Auth::Account" |
#account_id ⇒ Integer
Returns the ID of the account used for creating the slide.
1677 |
# File 'lib/lws/apps/digital_signage.rb', line 1677 attribute :account_id |
#channel_groups ⇒ Array<Channel::Group>
Returns the channel group the slide is scheduled on.
1686 |
# File 'lib/lws/apps/digital_signage.rb', line 1686 has_many :channel_groups, class_name: "LWS::DigitalSignage::Channel::Group" |
#channels ⇒ Array<Channel>
Returns the channels the slide is scheduled on.
1681 |
# File 'lib/lws/apps/digital_signage.rb', line 1681 has_many :channels, class_name: "LWS::DigitalSignage::Channel" |
#company ⇒ LWS::Auth::Company
Returns the company the slide belongs to.
1690 |
# File 'lib/lws/apps/digital_signage.rb', line 1690 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
Returns the ID of the company the slide belongs to.
1694 |
# File 'lib/lws/apps/digital_signage.rb', line 1694 attribute :company_id |
#layout ⇒ LWS::Layout
Returns the layout the slide uses.
1698 |
# File 'lib/lws/apps/digital_signage.rb', line 1698 belongs_to :layout |
#layout_id ⇒ Integer
Returns the ID of the layout the slide uses.
1702 |
# File 'lib/lws/apps/digital_signage.rb', line 1702 attribute :layout_id |
#name ⇒ String
Returns the name of the slide.
1706 |
# File 'lib/lws/apps/digital_signage.rb', line 1706 attribute :name |
#order_priority ⇒ Integer
Returns the order priority within a playlist for a channel.
1710 |
# File 'lib/lws/apps/digital_signage.rb', line 1710 attribute :order_priority |
#schedules ⇒ Array<Schedule>
Returns the slide schedules that apply for the slide.
1715 |
# File 'lib/lws/apps/digital_signage.rb', line 1715 has_many :schedules, class_name: "LWS::DigitalSignage::Slide::Schedule" |
#status ⇒ "initializing", ... (readonly)
Returns the status of the slide.
1720 |
# File 'lib/lws/apps/digital_signage.rb', line 1720 attribute :status |