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

#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

#responseObject (readonly)

Returns the value of attribute response.



3
4
5
# File 'lib/soundcloud/hash_response_wrapper.rb', line 3

def response
  @response
end