Class: LWS::DigitalSignage::Layout::Version
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Layout::Version
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
Note:
This class is only used within the context of the LWS::DigitalSignage::Layout class.
The layout version class
Instance Attribute Summary collapse
-
#elements ⇒ Array<Layout::Element>
The elements contained in the layout version.
-
#id ⇒ Integer
readonly
The (unique) ID of the layout version.
-
#layout ⇒ Layout
The layout the layout version is for.
-
#layout_id ⇒ Integer
The ID of the layout the layout version is for.
Attributes inherited from Generic::Model
#created_at, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#dig, #reload, #rollback, #save
Instance Attribute Details
#elements ⇒ Array<Layout::Element>
Returns the elements contained in the layout version.
735 |
# File 'lib/lws/apps/digital_signage.rb', line 735 has_many :elements, class_name: "LWS::DigitalSignage::Layout::Element" |
#id ⇒ Integer (readonly)
Returns the (unique) ID of the layout version.
730 |
# File 'lib/lws/apps/digital_signage.rb', line 730 attribute :id |
#layout ⇒ Layout
Returns the layout the layout version is for.
739 |
# File 'lib/lws/apps/digital_signage.rb', line 739 belongs_to :layout |
#layout_id ⇒ Integer
Returns the ID of the layout the layout version is for.
743 |
# File 'lib/lws/apps/digital_signage.rb', line 743 attribute :layout_id |