Class: LWS::DigitalSignage::Player::Model::Capability
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Model::Capability
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
Note:
This class is only used within the context of the LWS::DigitalSignage::Player::Model class.
The player model capability class
Instance Attribute Summary collapse
-
#key ⇒ String
The key of the player model capability.
-
#model ⇒ Player::Model
The player model that has the capability.
-
#model_id ⇒ Integer
The ID of the player model that has the capability.
-
#value ⇒ String
The value of the player model capability.
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
#key ⇒ String
Returns the key of the player model capability.
1253 |
# File 'lib/lws/apps/digital_signage.rb', line 1253 attribute :key |
#model ⇒ Player::Model
Returns the player model that has the capability.
1257 1258 |
# File 'lib/lws/apps/digital_signage.rb', line 1257 belongs_to :model, class_name: "LWS::DigitalSignage::Player::Model", uri: "player/models/:id" |
#model_id ⇒ Integer
Returns the ID of the player model that has the capability.
1262 |
# File 'lib/lws/apps/digital_signage.rb', line 1262 attribute :model_id |
#value ⇒ String
Returns the value of the player model capability.
1266 |
# File 'lib/lws/apps/digital_signage.rb', line 1266 attribute :value |