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.
-
#description ⇒ String
The customizable attribute/property description.
-
#element ⇒ Layout::element
The layout element the customizable property is for.
-
#element_id ⇒ Integer
The ID of the layout element the customizable is for.
-
#help ⇒ String
The customizable attribute/property help text.
-
#placeholder ⇒ String
The customizable attribute/property placholder text.
-
#presets ⇒ Array<Hash{String => String}>
This is a list of mappings of the preset label (key “label”) to the preset value (key “value”).
-
#required ⇒ String
Whether the customizable attribute/property is required.
-
#title ⇒ String
The customizable attribute/property title.
-
#uuid ⇒ String
The UUID of the customizable attribute/property.
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
#attr ⇒ String
Returns the customizable attribute/property name.
815 |
# File 'lib/lws/apps/digital_signage.rb', line 815 attribute :attr |
#description ⇒ String
Returns the customizable attribute/property description.
819 |
# File 'lib/lws/apps/digital_signage.rb', line 819 attribute :description |
#element ⇒ Layout::element
Returns the layout element the customizable property is for.
824 |
# File 'lib/lws/apps/digital_signage.rb', line 824 belongs_to :element, class_name: "LWS::DigitalSignage::Layout::Element" |
#element_id ⇒ Integer
Returns the ID of the layout element the customizable is for.
828 |
# File 'lib/lws/apps/digital_signage.rb', line 828 attribute :element_id |
#help ⇒ String
Returns the customizable attribute/property help text.
832 |
# File 'lib/lws/apps/digital_signage.rb', line 832 attribute :help |
#placeholder ⇒ String
Returns the customizable attribute/property placholder text.
836 |
# File 'lib/lws/apps/digital_signage.rb', line 836 attribute :placeholder |
#presets ⇒ Array<Hash{String => String}>
This is a list of mappings of the preset label (key “label”) to the preset value (key “value”).
843 |
# File 'lib/lws/apps/digital_signage.rb', line 843 attribute :presets |
#required ⇒ String
Returns whether the customizable attribute/property is required.
847 |
# File 'lib/lws/apps/digital_signage.rb', line 847 attribute :required |
#title ⇒ String
Returns the customizable attribute/property title.
851 |
# File 'lib/lws/apps/digital_signage.rb', line 851 attribute :title |
#uuid ⇒ String
Returns the UUID of the customizable attribute/property.
855 |
# File 'lib/lws/apps/digital_signage.rb', line 855 attribute :uuid |