Class: Soundcloud::HashResponseWrapper

Inherits:
Hashie::Mash
  • Object
show all
Defined in:
lib/soundcloud/hash_response_wrapper.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (HashResponseWrapper) initialize(response = nil, *args)

Returns 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