Class: LWS::DigitalSignage::Channel::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::Channel class.

The channel tag class

Instance Attribute Summary collapse

Instance Attribute Details

#channelChannel

Returns the channel associated with the tag.

Returns:

  • (Channel)

    the channel associated with the tag



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

belongs_to :channel, class_name: "LWS::DigitalSignage::Channel"

#channel_idFixnum

Returns the ID of the channel associated with the tag.

Returns:

  • (Fixnum)

    the ID of the channel associated with the tag



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

attribute :channel_id

#created_atString (readonly)

Returns the timestamp of when the channel was created.

Returns:

  • (String)

    the timestamp of when the channel was created



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the channel tag.

Returns:

  • (Fixnum)

    the (unique) ID of the channel tag



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

attribute :id

#keyString

Returns the key of the channel tag.

Returns:

  • (String)

    the key of the channel tag



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

attribute :key

#protected_valueBoolean

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

Returns:

  • (Boolean)

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



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

attribute :protected_value

#updated_atString (readonly)

Returns the timestamp of when the channel was last updated.

Returns:

  • (String)

    the timestamp of when the channel was last updated



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

attribute :updated_at

#valueString?

Returns the value of the channel tag.

Returns:

  • (String, nil)

    the value of the channel tag



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

attribute :value