Class: DACPClient::Model::DMAPAttribute

Inherits:
Struct
  • Object
show all
Defined in:
lib/dacpclient/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_classObject

Returns the value of attribute item_class

Returns:

  • (Object)

    the current value of item_class



3
4
5
# File 'lib/dacpclient/model.rb', line 3

def item_class
  @item_class
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



3
4
5
# File 'lib/dacpclient/model.rb', line 3

def tag
  @tag
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



3
4
5
# File 'lib/dacpclient/model.rb', line 3

def value
  @value
end