Class: LWS::DigitalSignage::Player::Notification

Inherits:
Generic::Model
  • Object
show all
Defined in:
lib/lws/apps/digital_signage.rb

Overview

Note:

This class is only used within the context of the LWS::DigitalSignage::Player class.

The player notification

Instance Attribute Summary collapse

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the player notification was created.

Returns:

  • (String)

    the timestamp of when the player notification was created



1187
# File 'lib/lws/apps/digital_signage.rb', line 1187

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the player notification.

Returns:

  • (Fixnum)

    the (unique) ID of the player notification



1158
# File 'lib/lws/apps/digital_signage.rb', line 1158

attribute :id

#keyString

Returns the key of the player notification.

Returns:

  • (String)

    the key of the player notification



1162
# File 'lib/lws/apps/digital_signage.rb', line 1162

attribute :key

#playerPlayer

Returns the player the notification is sent by.

Returns:

  • (Player)

    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_idFixnum

Returns the ID of the player the notification is sent by.

Returns:

  • (Fixnum)

    the ID of the player the notification is sent by



1170
# File 'lib/lws/apps/digital_signage.rb', line 1170

attribute :player_id

#protected_valueBoolean

Whether the value of the player nofication should return a protected representation of the value

Returns:

  • (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

#repeatedFixnum?

Returns the number of times the notification was repeated.

Returns:

  • (Fixnum, nil)

    the number of times the notification was repeated



1179
# File 'lib/lws/apps/digital_signage.rb', line 1179

attribute :repeated

#updated_atString (readonly)

Returns the timestamp of when the player notification was last updated.

Returns:

  • (String)

    the timestamp of when the player notification was last updated



1191
# File 'lib/lws/apps/digital_signage.rb', line 1191

attribute :updated_at

#valueString

Returns the value of the player notification.

Returns:

  • (String)

    the value of the player notification



1183
# File 'lib/lws/apps/digital_signage.rb', line 1183

attribute :value