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



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the player tag.

Returns:

  • (Fixnum)

    the (unique) ID of the player tag



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

attribute :id

#keyString

Returns the key of the player tag.

Returns:

  • (String)

    the key of the player tag



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

attribute :key

#playerPlayer

Returns the player associated with the tag.

Returns:

  • (Player)

    the player associated with the tag



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

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



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

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



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

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



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

attribute :updated_at

#valueString?

Returns the value of the player tag.

Returns:

  • (String, nil)

    the value of the player tag



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

attribute :value