Class: LWS::DigitalSignage::Player::Configuration::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::Configuration class.

The 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

#configurationPlayer::Configuration

Returns the player configuration the setting is defined in.

Returns:



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

belongs_to :configuration, class_name: "LWS::DigitalSignage::Player::Configuration",
uri: "player/configurations/:id"

#configuration_idInteger

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

Returns:

  • (Integer)

    the ID of the player configuration the setting is defined in



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

attribute :configuration_id

#keyString

Returns the key of the player configuration setting.

Returns:

  • (String)

    the key of the player configuration setting



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

attribute :key

#protected_valueBoolean

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

Returns:

  • (Boolean)

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



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

attribute :protected_value

#valueString?

Returns the value of the player configuration setting.

Returns:

  • (String, nil)

    the value of the player configuration setting



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

attribute :value