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
-
#created_at ⇒ String
readonly
The timestamp of when the player notification was created.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the player notification.
-
#key ⇒ String
The key of the player notification.
-
#player ⇒ Player
The player the notification is sent by.
-
#player_id ⇒ Fixnum
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 ⇒ Fixnum?
The number of times the notification was repeated.
-
#updated_at ⇒ String
readonly
The timestamp of when the player notification was last updated.
-
#value ⇒ String
The value of the player notification.
Instance Attribute Details
#created_at ⇒ String (readonly)
Returns the timestamp of when the player notification was created.
1187 |
# File 'lib/lws/apps/digital_signage.rb', line 1187 attribute :created_at |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the player notification.
1158 |
# File 'lib/lws/apps/digital_signage.rb', line 1158 attribute :id |
#key ⇒ String
Returns the key of the player notification.
1162 |
# File 'lib/lws/apps/digital_signage.rb', line 1162 attribute :key |
#player ⇒ Player
Returns the player the notification is sent by.
1166 |
# File 'lib/lws/apps/digital_signage.rb', line 1166 belongs_to :player, class_name: "LWS::DigitalSignage::Player" |
#player_id ⇒ Fixnum
Returns the ID of the player the notification is sent by.
1170 |
# File 'lib/lws/apps/digital_signage.rb', line 1170 attribute :player_id |
#protected_value ⇒ Boolean
Whether the value of the player nofication should return a protected representation of the value
1175 |
# File 'lib/lws/apps/digital_signage.rb', line 1175 attribute :protected_value |
#repeated ⇒ Fixnum?
Returns the number of times the notification was repeated.
1179 |
# File 'lib/lws/apps/digital_signage.rb', line 1179 attribute :repeated |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the player notification was last updated.
1191 |
# File 'lib/lws/apps/digital_signage.rb', line 1191 attribute :updated_at |
#value ⇒ String
Returns the value of the player notification.
1183 |
# File 'lib/lws/apps/digital_signage.rb', line 1183 attribute :value |