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
-
#created_at ⇒ String
readonly
The timestamp of when the layout version was created.
-
#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.
-
#updated_at ⇒ String
readonly
The timestamp of when the layout version was last updated.
Attributes inherited from Generic::Model
Method Summary
Methods inherited from Generic::Model
Instance Attribute Details
#created_at ⇒ String (readonly)
Returns the timestamp of when the layout version was created.
788 |
# File 'lib/lws/apps/digital_signage.rb', line 788 attribute :created_at |
#elements ⇒ Array<Layout::Element>
Returns the elements contained in the layout version.
776 |
# File 'lib/lws/apps/digital_signage.rb', line 776 has_many :elements, class_name: "LWS::DigitalSignage::Layout::Element" |
#id ⇒ Integer (readonly)
Returns the (unique) ID of the layout version.
771 |
# File 'lib/lws/apps/digital_signage.rb', line 771 attribute :id |
#layout ⇒ Layout
Returns the layout the layout version is for.
780 |
# File 'lib/lws/apps/digital_signage.rb', line 780 belongs_to :layout |
#layout_id ⇒ Integer
Returns the ID of the layout the layout version is for.
784 |
# File 'lib/lws/apps/digital_signage.rb', line 784 attribute :layout_id |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the layout version was last updated.
792 |
# File 'lib/lws/apps/digital_signage.rb', line 792 attribute :updated_at |