Class: LWS::DigitalSignage::Player::Tag

Inherits:
Generic::Model 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 tag class

Instance Attribute Summary collapse

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the player was created.

Returns:

  • (String)

    the timestamp of when the player was created



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the player tag.

Returns:

  • (Fixnum)

    the (unique) ID of the player tag



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

attribute :id

#keyString

Returns the key of the player tag.

Returns:

  • (String)

    the key of the player tag



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

attribute :key

#playerPlayer

Returns the player associated with the tag.

Returns:

  • (Player)

    the player associated with the tag



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

belongs_to :player, class_name: "LWS::DigitalSignage::Player"

#player_idFixnum

Returns the ID of the player associated with the tag.

Returns:

  • (Fixnum)

    the ID of the player associated with the tag



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

attribute :player_id

#protected_valueBoolean

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

Returns:

  • (Boolean)

    whether the value of the player tag should return a protected representation of the value



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

attribute :protected_value

#updated_atString (readonly)

Returns the timestamp of when the player was last updated.

Returns:

  • (String)

    the timestamp of when the player was last updated



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

attribute :updated_at

#valueString?

Returns the value of the player tag.

Returns:

  • (String, nil)

    the value of the player tag



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

attribute :value