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

#created_at, #id, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#deep_dup, #dig, #reload, #rollback, #save

Instance Attribute Details

#keyString

Returns the key of the player tag.

Returns:

  • (String)

    the key of the player tag



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

attribute :key

#playerPlayer

Returns the player associated with the tag.

Returns:

  • (Player)

    the player associated with the tag



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

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



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

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



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

attribute :protected_value

#valueString?

Returns the value of the player tag.

Returns:

  • (String, nil)

    the value of the player tag



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

attribute :value