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.
763 |
# File 'lib/lws/apps/digital_signage.rb', line 763 attribute :attr |
#element ⇒ Layout::Element
Returns the layout element the property is for.
768 |
# File 'lib/lws/apps/digital_signage.rb', line 768 belongs_to :element, class_name: "LWS::DigitalSignage::Layout::Element" |
#element_id ⇒ Integer
Returns the ID of the layout element the property is for.
772 |
# File 'lib/lws/apps/digital_signage.rb', line 772 attribute :element_id |
#locked ⇒ Boolean
Returns whether the attribute/property value is locked.
776 |
# File 'lib/lws/apps/digital_signage.rb', line 776 attribute :locked |
#value ⇒ String
Returns the attribute/property value.
780 |
# File 'lib/lws/apps/digital_signage.rb', line 780 attribute :value |