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
Instance Attribute Details
#key ⇒ String
Returns the key of the player notification.
1255 |
# File 'lib/lws/apps/digital_signage.rb', line 1255 attribute :key |
#player ⇒ Player
Returns the player the notification is sent by.
1259 |
# File 'lib/lws/apps/digital_signage.rb', line 1259 belongs_to :player, class_name: "LWS::DigitalSignage::Player" |
#player_id ⇒ Integer
Returns the ID of the player the notification is sent by.
1263 |
# File 'lib/lws/apps/digital_signage.rb', line 1263 attribute :player_id |
#protected_value ⇒ Boolean
Whether the value of the player nofication should return a protected representation of the value
1268 |
# File 'lib/lws/apps/digital_signage.rb', line 1268 attribute :protected_value |
#repeated ⇒ Integer?
Returns the number of times the notification was repeated.
1272 |
# File 'lib/lws/apps/digital_signage.rb', line 1272 attribute :repeated |
#value ⇒ String
Returns the value of the player notification.
1276 |
# File 'lib/lws/apps/digital_signage.rb', line 1276 attribute :value |