Class: LWS::DigitalSignage::Player::Notification
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Player::Notification
- Defined in:
- lib/lws/apps/digital_signage.rb
Overview
This class is only used within the context of the LWS::DigitalSignage::Player class.
The player notification
Instance Attribute Summary collapse
-
#key ⇒ String
The key of the player notification.
-
#player ⇒ Player
The player the notification is sent by.
-
#player_id ⇒ Integer
The ID of the player the notification is sent by.
-
#protected_value ⇒ Boolean
Whether the value of the player nofication should return a protected representation of the value.
-
#repeated ⇒ Integer?
The number of times the notification was repeated.
-
#value ⇒ String
The value of the player notification.
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 notification.
1466 |
# File 'lib/lws/apps/digital_signage.rb', line 1466 attribute :key |
#player ⇒ Player
Returns the player the notification is sent by.
1470 |
# File 'lib/lws/apps/digital_signage.rb', line 1470 belongs_to :player, class_name: "LWS::DigitalSignage::Player" |
#player_id ⇒ Integer
Returns the ID of the player the notification is sent by.
1474 |
# File 'lib/lws/apps/digital_signage.rb', line 1474 attribute :player_id |
#protected_value ⇒ Boolean
Whether the value of the player nofication should return a protected representation of the value
1479 |
# File 'lib/lws/apps/digital_signage.rb', line 1479 attribute :protected_value |
#repeated ⇒ Integer?
Returns the number of times the notification was repeated.
1483 |
# File 'lib/lws/apps/digital_signage.rb', line 1483 attribute :repeated |
#value ⇒ String
Returns the value of the player notification.
1487 |
# File 'lib/lws/apps/digital_signage.rb', line 1487 attribute :value |