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:



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

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



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

attribute :group_id

#keyString

Returns the key of the channel group tag.

Returns:

  • (String)

    the key of the channel group tag



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

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



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

attribute :protected_value

#valueString?

Returns the value of the channel group tag.

Returns:

  • (String, nil)

    the value of the channel group tag



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

attribute :value