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_group_ids ⇒ Array<Integer>
The IDs of the channel group the slide is scheduled on.
-
#channel_groups ⇒ Array<Channel::Group>
The channel group the slide is scheduled on.
-
#channel_ids ⇒ Array<Integer>
The IDs of the channels the slide is scheduled on.
-
#channels ⇒ Array<Channel>
The channels the slide is scheduled on.
-
#comments ⇒ String?
The comments/remarks for the slide.
-
#company ⇒ LWS::Auth::Company
The company the slide belongs to.
-
#company_id ⇒ Integer
The ID of the company the slide belongs to.
-
#duration ⇒ Integer?
The duration of the slide (for fixed or content-bound durations in the layout).
-
#edit_account_ids ⇒ Array<Integer>
The IDs of the accounts that can edit the slide.
-
#editable_by_me ⇒ Boolean
Whether the authenticated user can edit the slide.
-
#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.
-
#schedule_ids ⇒ Array<Integer>
The IDs of the slide schedules that apply for the slide.
-
#schedules ⇒ Array<Schedule>
The slide schedules that apply for the slide.
-
#status ⇒ "initializing", ...
readonly
The status of the slide.
-
#thumbnail_url ⇒ String?
The URL of the thumbnail of the slide.
-
#uuid ⇒ String
The UUID 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.
2013 |
# File 'lib/lws/apps/digital_signage.rb', line 2013 belongs_to :account, class_name: "LWS::Auth::Account" |
#account_id ⇒ Integer
Returns the ID of the account used for creating the slide.
2017 |
# File 'lib/lws/apps/digital_signage.rb', line 2017 attribute :account_id |
#channel_group_ids ⇒ Array<Integer>
Returns the IDs of the channel group the slide is scheduled on.
2030 |
# File 'lib/lws/apps/digital_signage.rb', line 2030 attribute :channel_group_ids |
#channel_groups ⇒ Array<Channel::Group>
Returns the channel group the slide is scheduled on.
2035 |
# File 'lib/lws/apps/digital_signage.rb', line 2035 has_many :channel_groups, class_name: "LWS::DigitalSignage::Channel::Group" |
#channel_ids ⇒ Array<Integer>
Returns the IDs of the channels the slide is scheduled on.
2021 |
# File 'lib/lws/apps/digital_signage.rb', line 2021 attribute :channel_ids |
#channels ⇒ Array<Channel>
Returns the channels the slide is scheduled on.
2025 |
# File 'lib/lws/apps/digital_signage.rb', line 2025 has_many :channels, class_name: "LWS::DigitalSignage::Channel" |
#comments ⇒ String?
Returns the comments/remarks for the slide.
2039 |
# File 'lib/lws/apps/digital_signage.rb', line 2039 attribute :comments |
#company ⇒ LWS::Auth::Company
Returns the company the slide belongs to.
2043 |
# File 'lib/lws/apps/digital_signage.rb', line 2043 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
Returns the ID of the company the slide belongs to.
2047 |
# File 'lib/lws/apps/digital_signage.rb', line 2047 attribute :company_id |
#duration ⇒ Integer?
Returns the duration of the slide (for fixed or content-bound durations in the layout).
2052 |
# File 'lib/lws/apps/digital_signage.rb', line 2052 attribute :duration |
#edit_account_ids ⇒ Array<Integer>
Returns the IDs of the accounts that can edit the slide.
2056 |
# File 'lib/lws/apps/digital_signage.rb', line 2056 attribute :edit_account_ids |
#editable_by_me ⇒ Boolean
Returns whether the authenticated user can edit the slide.
2060 |
# File 'lib/lws/apps/digital_signage.rb', line 2060 attribute :editable_by_me |
#layout ⇒ LWS::Layout
Returns the layout the slide uses.
2064 |
# File 'lib/lws/apps/digital_signage.rb', line 2064 belongs_to :layout |
#layout_id ⇒ Integer
Returns the ID of the layout the slide uses.
2068 |
# File 'lib/lws/apps/digital_signage.rb', line 2068 attribute :layout_id |
#name ⇒ String
Returns the name of the slide.
2072 |
# File 'lib/lws/apps/digital_signage.rb', line 2072 attribute :name |
#order_priority ⇒ Integer
Returns the order priority within a playlist for a channel.
2076 |
# File 'lib/lws/apps/digital_signage.rb', line 2076 attribute :order_priority |
#schedule_ids ⇒ Array<Integer>
Returns the IDs of the slide schedules that apply for the slide.
2081 |
# File 'lib/lws/apps/digital_signage.rb', line 2081 attribute :schedule_ids |
#schedules ⇒ Array<Schedule>
Returns the slide schedules that apply for the slide.
2085 |
# File 'lib/lws/apps/digital_signage.rb', line 2085 has_many :schedules, class_name: "LWS::DigitalSignage::Slide::Schedule" |
#status ⇒ "initializing", ... (readonly)
Returns the status of the slide.
2090 |
# File 'lib/lws/apps/digital_signage.rb', line 2090 attribute :status |
#thumbnail_url ⇒ String?
Returns the URL of the thumbnail of the slide.
2094 |
# File 'lib/lws/apps/digital_signage.rb', line 2094 attribute :thumbnail_url |
#uuid ⇒ String
Returns the UUID of the slide.
2098 |
# File 'lib/lws/apps/digital_signage.rb', line 2098 attribute :uuid |