Class: Rdio::BaseObj
Overview
An ApiObj with a ‘key’
Direct Known Subclasses
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
Attributes inherited from ApiObj
Instance Method Summary collapse
-
#eql?(that) ⇒ Boolean
Compares only by key.
-
#initialize(api) ⇒ BaseObj
constructor
A new instance of BaseObj.
- #to_k ⇒ Object
Methods inherited from ApiObj
Constructor Details
#initialize(api) ⇒ BaseObj
Returns a new instance of BaseObj.
236 237 238 |
# File 'lib/rdio/base.rb', line 236 def initialize(api) super api end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
234 235 236 |
# File 'lib/rdio/base.rb', line 234 def key @key end |