Class: SoundCloud::HashResponseWrapper
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- SoundCloud::HashResponseWrapper
- Defined in:
- lib/soundcloud/hash_response_wrapper.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response = nil, *args) ⇒ HashResponseWrapper
constructor
A new instance of HashResponseWrapper.
Constructor Details
#initialize(response = nil, *args) ⇒ HashResponseWrapper
Returns a new instance of HashResponseWrapper.
4 5 6 7 |
# File 'lib/soundcloud/hash_response_wrapper.rb', line 4 def initialize(response=nil, *args) @response = response super(response, *args) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
3 4 5 |
# File 'lib/soundcloud/hash_response_wrapper.rb', line 3 def response @response end |