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