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

Attributes inherited from Generic::Model

#id, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#reload, #rollback, #save

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the player tag was created.

Returns:

  • (String)

    the timestamp of when the player tag was created



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

attribute :created_at

#keyString

Returns the key of the player tag.

Returns:

  • (String)

    the key of the player tag



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

attribute :key

#playerPlayer

Returns the player associated with the tag.

Returns:

  • (Player)

    the player associated with the tag



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

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

#player_idInteger

Returns the ID of the player associated with the tag.

Returns:

  • (Integer)

    the ID of the player associated with the tag



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

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



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

attribute :protected_value

#updated_atString (readonly)

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

Returns:

  • (String)

    the timestamp of when the player tag was last updated



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

attribute :updated_at

#valueString?

Returns the value of the player tag.

Returns:

  • (String, nil)

    the value of the player tag



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

attribute :value