Class: LWS::DigitalSignage::Player::PredefinedConfiguration::Setting

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::Player::PredefinedConfiguration class.

The predefined player configuration setting class

Instance Attribute Summary collapse

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

#keyString

Returns the key of the predefined player configuration setting.

Returns:

  • (String)

    the key of the predefined player configuration setting



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

attribute :key

#predefined_configurationPlayer::PredefinedConfiguration

Returns the predefined player configuration the setting is defined in.

Returns:



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

belongs_to :predefined_configuration, class_name: "LWS::DigitalSignage::Player::PredefinedConfiguration",
uri: "player/predefined_configurations/:id"

#predefined_configuration_idInteger

Returns the ID of the predefined player configuration the setting is defined in.

Returns:

  • (Integer)

    the ID of the predefined player configuration the setting is defined in



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

attribute :predefined_configuration_id

#protected_valueBoolean

Returns whether the value of the predefined player configuration setting should return a protected representation of the value.

Returns:

  • (Boolean)

    whether the value of the predefined player configuration setting should return a protected representation of the value



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

attribute :protected_value

#valueString?

Returns the value of the predefined player configuration setting.

Returns:

  • (String, nil)

    the value of the predefined player configuration setting



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

attribute :value