Class: LWS::DigitalSignage::Player::Configuration::Setting
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Configuration::Setting
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
This class is only used within the context of the LWS::DigitalSignage::Player::Configuration class.
The player configuration setting class
Instance Attribute Summary collapse
-
#configuration ⇒ Player::Configuration
The player configuration the setting is defined in.
-
#configuration_id ⇒ Integer
The ID of the player configuration the setting is defined in.
-
#key ⇒ String
The key of the player configuration setting.
-
#protected_value ⇒ Boolean
Whether the value of the player configuration setting should return a protected representation of the value.
-
#value ⇒ String?
The value of the player configuration setting.
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
#configuration ⇒ Player::Configuration
Returns the player configuration the setting is defined in.
1276 1277 |
# File 'lib/lws/apps/digital_signage.rb', line 1276 belongs_to :configuration, class_name: "LWS::DigitalSignage::Player::Configuration", uri: "player/configurations/:id" |
#configuration_id ⇒ Integer
Returns the ID of the player configuration the setting is defined in.
1281 |
# File 'lib/lws/apps/digital_signage.rb', line 1281 attribute :configuration_id |
#key ⇒ String
Returns the key of the player configuration setting.
1285 |
# File 'lib/lws/apps/digital_signage.rb', line 1285 attribute :key |
#protected_value ⇒ Boolean
Returns whether the value of the player configuration setting should return a protected representation of the value.
1290 |
# File 'lib/lws/apps/digital_signage.rb', line 1290 attribute :protected_value |
#value ⇒ String?
Returns the value of the player configuration setting.
1294 |
# File 'lib/lws/apps/digital_signage.rb', line 1294 attribute :value |