Class: LWS::DigitalSignage::Channel::Group::Tag

Inherits:
Generic::Model
  • Object
show all
Defined in:
lib/lws/apps/digital_signage.rb

Overview

Note:

This class is only used within the context of the LWS::DigitalSignage::Channel::Group class.

The channel group 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

#groupChannel::Group

Returns the channel group associated with the tag.

Returns:



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

belongs_to :group, class_names: "LWS::DigitalSignage::Channel::Group",
uri: "channel/groups/:id"

#group_idInteger

Returns the ID of the channel group associated with the tag.

Returns:

  • (Integer)

    the ID of the channel group associated with the tag



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

attribute :group_id

#keyString

Returns the key of the channel group tag.

Returns:

  • (String)

    the key of the channel group tag



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

attribute :key

#protected_valueBoolean

Whether the value of the channel group tag should return a protected representation of the value

Returns:

  • (Boolean)

    whether the value of the channel group tag should return a protected representation of the value



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

attribute :protected_value

#valueString?

Returns the value of the channel group tag.

Returns:

  • (String, nil)

    the value of the channel group tag



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

attribute :value