Class: LWS::DigitalSignage::Channel::Tag
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::DigitalSignage::Channel::Tag
- 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
-
#channel ⇒ Channel
The channel associated with the tag.
-
#channel_id ⇒ Integer
The ID of the channel associated with the tag.
-
#key ⇒ String
The key of the channel tag.
-
#protected_value ⇒ Boolean
Whether the value of the channel tag should return a protected representation of the value.
-
#value ⇒ String?
The value of the channel tag.
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
#channel ⇒ Channel
Returns the channel associated with the tag.
270 |
# File 'lib/lws/apps/digital_signage.rb', line 270 belongs_to :channel, class_name: "LWS::DigitalSignage::Channel" |
#channel_id ⇒ Integer
Returns the ID of the channel associated with the tag.
274 |
# File 'lib/lws/apps/digital_signage.rb', line 274 attribute :channel_id |
#key ⇒ String
Returns the key of the channel tag.
278 |
# File 'lib/lws/apps/digital_signage.rb', line 278 attribute :key |
#protected_value ⇒ Boolean
Whether the value of the channel tag should return a protected representation of the value
283 |
# File 'lib/lws/apps/digital_signage.rb', line 283 attribute :protected_value |
#value ⇒ String?
Returns the value of the channel tag.
287 |
# File 'lib/lws/apps/digital_signage.rb', line 287 attribute :value |