Class: Reservix::HashResponseWrapper
- Inherits:
-
Hashie::Mash
- Object
- Hashie::Mash
- Reservix::HashResponseWrapper
- Defined in:
- lib/reservix/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/reservix/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/reservix/hash_response_wrapper.rb', line 3 def response @response end |