Class: LWS::DigitalSignage::Slide::Schedule
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Slide::Schedule
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
The slide schedule class
Instance Attribute Summary collapse
-
#date_end ⇒ Date
The date after which the slide schedule becomes inactive.
-
#date_start ⇒ Date
The date on which the slide schedule becomes active.
-
#duration ⇒ Integer
The duration of the slide within the slide schedule.
-
#name ⇒ String
The name of the slide schedule.
-
#priority ⇒ "low", ...
The priority of the slide schedule with respect to other slide schedules.
-
#skip_every ⇒ Integer
How many times to skip the slide within the slide schedule.
-
#slides ⇒ Array<Slide>
The slides that use the slide schedule.
-
#time_end ⇒ Time
The time after which the slide schedule becomes inactive.
-
#time_start ⇒ Time
The time on which the slide schedule becomes active.
-
#visible ⇒ Boolean
Whether the slide is visible within the slide schedule.
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
#date_end ⇒ Date
1808 |
# File 'lib/lws/apps/digital_signage.rb', line 1808 attribute :date_end |
#date_start ⇒ Date
1812 |
# File 'lib/lws/apps/digital_signage.rb', line 1812 attribute :date_start |
#duration ⇒ Integer
1816 |
# File 'lib/lws/apps/digital_signage.rb', line 1816 attribute :duration |
#name ⇒ String
1820 |
# File 'lib/lws/apps/digital_signage.rb', line 1820 attribute :name |
#priority ⇒ "low", ...
1825 |
# File 'lib/lws/apps/digital_signage.rb', line 1825 attribute :priority |
#skip_every ⇒ Integer
1830 |
# File 'lib/lws/apps/digital_signage.rb', line 1830 attribute :skip_every |
#slides ⇒ Array<Slide>
1835 |
# File 'lib/lws/apps/digital_signage.rb', line 1835 has_many :slides, class: "LWS::DigitalSignage::Slide" |
#time_end ⇒ Time
1839 |
# File 'lib/lws/apps/digital_signage.rb', line 1839 attribute :time_end |
#time_start ⇒ Time
1843 |
# File 'lib/lws/apps/digital_signage.rb', line 1843 attribute :time_start |
#visible ⇒ Boolean
1847 |
# File 'lib/lws/apps/digital_signage.rb', line 1847 attribute :visible |