Class: LWS::DigitalSignage::Layout::Element::Property
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Layout::Element::Property
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
Note:
This class is only used within the context of the LWS::DigitalSignage::Layout::Element class.
The layout element property class
Instance Attribute Summary collapse
-
#attr ⇒ String
The attribute/property name.
-
#element ⇒ Layout::Element
The layout element the property is for.
-
#element_id ⇒ Integer
The ID of the layout element the property is for.
-
#locked ⇒ Boolean
Whether the attribute/property value is locked.
-
#value ⇒ String
The attribute/property value.
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 attribute/property name.
867 |
# File 'lib/lws/apps/digital_signage.rb', line 867 attribute :attr |
#element ⇒ Layout::Element
Returns the layout element the property is for.
872 |
# File 'lib/lws/apps/digital_signage.rb', line 872 belongs_to :element, class_name: "LWS::DigitalSignage::Layout::Element" |
#element_id ⇒ Integer
Returns the ID of the layout element the property is for.
876 |
# File 'lib/lws/apps/digital_signage.rb', line 876 attribute :element_id |
#locked ⇒ Boolean
Returns whether the attribute/property value is locked.
880 |
# File 'lib/lws/apps/digital_signage.rb', line 880 attribute :locked |
#value ⇒ String
Returns the attribute/property value.
884 |
# File 'lib/lws/apps/digital_signage.rb', line 884 attribute :value |