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.
225 |
# File 'lib/lws/apps/digital_signage.rb', line 225 belongs_to :channel, class_name: "LWS::DigitalSignage::Channel" |
#channel_id ⇒ Integer
Returns the ID of the channel associated with the tag.
229 |
# File 'lib/lws/apps/digital_signage.rb', line 229 attribute :channel_id |
#key ⇒ String
Returns the key of the channel tag.
233 |
# File 'lib/lws/apps/digital_signage.rb', line 233 attribute :key |
#protected_value ⇒ Boolean
Whether the value of the channel tag should return a protected representation of the value
238 |
# File 'lib/lws/apps/digital_signage.rb', line 238 attribute :protected_value |
#value ⇒ String?
Returns the value of the channel tag.
242 |
# File 'lib/lws/apps/digital_signage.rb', line 242 attribute :value |