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



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

attribute :key

#playerPlayer

Returns the player associated with the tag.

Returns:

  • (Player)

    the player associated with the tag



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

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



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

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



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

attribute :protected_value

#valueString?

Returns the value of the player tag.

Returns:

  • (String, nil)

    the value of the player tag



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

attribute :value