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.
1440 |
# File 'lib/lws/apps/digital_signage.rb', line 1440 attribute :key |
#model ⇒ Player::Model
Returns the player model that has the capability.
1444 1445 |
# File 'lib/lws/apps/digital_signage.rb', line 1444 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.
1449 |
# File 'lib/lws/apps/digital_signage.rb', line 1449 attribute :model_id |
#value ⇒ String
Returns the value of the player model capability.
1453 |
# File 'lib/lws/apps/digital_signage.rb', line 1453 attribute :value |