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



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

attribute :key

#playerPlayer

Returns the player associated with the tag.

Returns:

  • (Player)

    the player associated with the tag



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

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



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

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



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

attribute :protected_value

#valueString?

Returns the value of the player tag.

Returns:

  • (String, nil)

    the value of the player tag



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

attribute :value