Class: DACPClient::Model::DMAPAttribute
- Inherits:
-
Struct
- Object
- Struct
- DACPClient::Model::DMAPAttribute
- Defined in:
- lib/dacpclient/model.rb
Instance Attribute Summary collapse
-
#item_class ⇒ Object
Returns the value of attribute item_class.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(tag, item_class = nil) ⇒ DMAPAttribute
constructor
A new instance of DMAPAttribute.
Constructor Details
#initialize(tag, item_class = nil) ⇒ DMAPAttribute
Returns a new instance of DMAPAttribute.
4 5 6 |
# File 'lib/dacpclient/model.rb', line 4 def initialize(tag, item_class = nil) super tag, item_class, nil end |
Instance Attribute Details
#item_class ⇒ Object
Returns the value of attribute item_class
3 4 5 |
# File 'lib/dacpclient/model.rb', line 3 def item_class @item_class end |
#tag ⇒ Object
Returns the value of attribute tag
3 4 5 |
# File 'lib/dacpclient/model.rb', line 3 def tag @tag end |
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/dacpclient/model.rb', line 3 def value @value end |