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
This class is only used within the context of the LWS::DigitalSignage::Layout class.
The layout version class
Instance Attribute Summary collapse
-
#archive_storage_id ⇒ String?
Sthe storage ID of the archive/layout pack of the layout version.
-
#archive_url ⇒ String?
The URL of the archive/layout pack of the layout version (if accessible).
-
#elements ⇒ Array<Layout::Element>
The elements contained in the layout version.
-
#height ⇒ Integer
The intended height 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.
-
#rotation ⇒ "landscape", "portrait"
The rotation (orientation) of the layout version.
-
#rotation_angle ⇒ 0, 90
The rotation angle of the layout version.
-
#status ⇒ "initializing", ...
readonly
The status of the layout version.
-
#thumbnail_url ⇒ String?
The URL of the thumbnail of the layout version.
-
#width ⇒ Integer
The intended width of the layout version.
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
#archive_storage_id ⇒ String?
778 |
# File 'lib/lws/apps/digital_signage.rb', line 778 attribute :archive_storage_id |
#archive_url ⇒ String?
To be able retrieve the archive, the token needs to be passed via X-Token in the HTTP request headers!
This attribute is only available if the token is of an account with sysadmin permissions
Returns the URL of the archive/layout pack of the layout version (if accessible).
788 |
# File 'lib/lws/apps/digital_signage.rb', line 788 attribute :archive_url |
#elements ⇒ Array<Layout::Element>
793 |
# File 'lib/lws/apps/digital_signage.rb', line 793 has_many :elements, class_name: "LWS::DigitalSignage::Layout::Element" |
#height ⇒ Integer
797 |
# File 'lib/lws/apps/digital_signage.rb', line 797 attribute :width |
#layout ⇒ Layout
801 |
# File 'lib/lws/apps/digital_signage.rb', line 801 belongs_to :layout |
#layout_id ⇒ Integer
805 |
# File 'lib/lws/apps/digital_signage.rb', line 805 attribute :layout_id |
#rotation ⇒ "landscape", "portrait"
810 |
# File 'lib/lws/apps/digital_signage.rb', line 810 attribute :rotation |
#rotation_angle ⇒ 0, 90
814 |
# File 'lib/lws/apps/digital_signage.rb', line 814 attribute :rotation_angle |
#status ⇒ "initializing", ... (readonly)
819 |
# File 'lib/lws/apps/digital_signage.rb', line 819 attribute :status |
#thumbnail_url ⇒ String?
823 |
# File 'lib/lws/apps/digital_signage.rb', line 823 attribute :thumbnail_url |
#width ⇒ Integer
827 |
# File 'lib/lws/apps/digital_signage.rb', line 827 attribute :width |