Class: LWS::DigitalSignage::Player::Component::Part
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Component::Part
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
Note:
This class is only used within the context of the LWS::DigitalSignage::Player::Component class.
The player component part class
Instance Attribute Summary collapse
-
#component ⇒ Player::Component
The player component that uses the part.
-
#component_id ⇒ Integer
The ID of the player component that uses the part.
-
#player ⇒ Player?
The player the component part is used in.
-
#player_id ⇒ Integer?
The ID of the player the component part is used in.
-
#serial_number ⇒ String
The serial number of the player component part.
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
#component ⇒ Player::Component
Returns the player component that uses the part.
1190 1191 |
# File 'lib/lws/apps/digital_signage.rb', line 1190 belongs_to :component, class_name: "LWS::DigitalSignage::Player::Component", uri: "player/components/:id" |
#component_id ⇒ Integer
Returns the ID of the player component that uses the part.
1195 |
# File 'lib/lws/apps/digital_signage.rb', line 1195 attribute :component_id |
#player ⇒ Player?
Returns the player the component part is used in.
1199 |
# File 'lib/lws/apps/digital_signage.rb', line 1199 belongs_to :player, class_name: "LWS::DigitalSignage::Player" |
#player_id ⇒ Integer?
Returns the ID of the player the component part is used in.
1203 |
# File 'lib/lws/apps/digital_signage.rb', line 1203 attribute :player_id |
#serial_number ⇒ String
Returns the serial number of the player component part.
1207 |
# File 'lib/lws/apps/digital_signage.rb', line 1207 attribute :serial_number |