Class: LWS::DigitalSignage::Layout::Element::Customizable
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Layout::Element::Customizable
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
This class is only used within the context of the LWS::DigitalSignage::Layout::Element class.
The layout element customizable class
Instance Attribute Summary collapse
-
#attr ⇒ String
The customizable attribute/property name.
-
#element ⇒ Layout::element
The layout element the customizable property is for.
-
#element_id ⇒ Integer
The ID of the layout element the customizable is for.
-
#hint_message ⇒ String
The customizable attribute/property value.
-
#id ⇒ Integer
readonly
The (unique) ID of the layout element customizable property.
-
#presets ⇒ Array<Hash{String => String}>
This is a list of mappings of the preset label (key “label”) to the preset value (key “value”).
-
#uuid ⇒ String
The UUID of the customizable attribute/property.
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
#attr ⇒ String
Returns the customizable attribute/property name.
660 |
# File 'lib/lws/apps/digital_signage.rb', line 660 attribute :attr |
#element ⇒ Layout::element
Returns the layout element the customizable property is for.
665 |
# File 'lib/lws/apps/digital_signage.rb', line 665 belongs_to :element, class_name: "LWS::DigitalSignage::Layout::Element" |
#element_id ⇒ Integer
Returns the ID of the layout element the customizable is for.
669 |
# File 'lib/lws/apps/digital_signage.rb', line 669 attribute :element_id |
#hint_message ⇒ String
Returns the customizable attribute/property value.
673 |
# File 'lib/lws/apps/digital_signage.rb', line 673 attribute :hint_message |
#id ⇒ Integer (readonly)
Returns the (unique) ID of the layout element customizable property.
656 |
# File 'lib/lws/apps/digital_signage.rb', line 656 attribute :id |
#presets ⇒ Array<Hash{String => String}>
This is a list of mappings of the preset label (key “label”) to the preset value (key “value”).
680 |
# File 'lib/lws/apps/digital_signage.rb', line 680 attribute :presets |
#uuid ⇒ String
Returns the UUID of the customizable attribute/property.
684 |
# File 'lib/lws/apps/digital_signage.rb', line 684 attribute :uuid |