Class: LWS::DigitalSignage::Layout::Element::Customizable

Inherits:
Generic::Model
  • Object
show all
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 customizable class

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

#url, #url_html

Method Summary

Methods inherited from Generic::Model

#reload, #rollback, #save

Instance Attribute Details

#attrString

Returns the customizable attribute/property name.

Returns:

  • (String)

    the customizable attribute/property name



685
# File 'lib/lws/apps/digital_signage.rb', line 685

attribute :attr

#created_atString (readonly)

Returns the timestamp of when the layout element customizable was created.

Returns:

  • (String)

    the timestamp of when the layout element customizable was created



711
# File 'lib/lws/apps/digital_signage.rb', line 711

attribute :created_at

#elementLayout::element

Returns the layout element the customizable property is for.

Returns:

  • (Layout::element)

    the layout element the customizable property is for



690
# File 'lib/lws/apps/digital_signage.rb', line 690

belongs_to :element, class_name: "LWS::DigitalSignage::Layout::Element"

#element_idInteger

Returns the ID of the layout element the customizable is for.

Returns:

  • (Integer)

    the ID of the layout element the customizable is for



694
# File 'lib/lws/apps/digital_signage.rb', line 694

attribute :element_id

#hint_messageString

Returns the customizable attribute/property value.

Returns:

  • (String)

    the customizable attribute/property value



698
# File 'lib/lws/apps/digital_signage.rb', line 698

attribute :hint_message

#idInteger (readonly)

Returns the (unique) ID of the layout element customizable property.

Returns:

  • (Integer)

    the (unique) ID of the layout element customizable property



681
# File 'lib/lws/apps/digital_signage.rb', line 681

attribute :id

#presetsArray<Hash>

Returns the presets for attribute values (label to value).

Returns:

  • (Array<Hash>)

    the presets for attribute values (label to value)



702
# File 'lib/lws/apps/digital_signage.rb', line 702

attribute :presets

#updated_atString (readonly)

Returns the timestamp of when the layout element customizable was last updated.

Returns:

  • (String)

    the timestamp of when the layout element customizable was last updated



716
# File 'lib/lws/apps/digital_signage.rb', line 716

attribute :updated_at

#uuidString

Returns the UUID of the customizable attribute/property.

Returns:

  • (String)

    the UUID of the customizable attribute/property



706
# File 'lib/lws/apps/digital_signage.rb', line 706

attribute :uuid