Class: AvalaraSdk::ResponseHash
- Inherits:
-
Object
- Object
- AvalaraSdk::ResponseHash
- Defined in:
- lib/avalara_sdk/response_hash.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#code ⇒ Object
Returns the value of attribute code.
-
#headers ⇒ Object
Returns the value of attribute headers.
Instance Method Summary collapse
-
#initialize(body, headers, code) ⇒ ResponseHash
constructor
A new instance of ResponseHash.
Constructor Details
#initialize(body, headers, code) ⇒ ResponseHash
Returns a new instance of ResponseHash.
7 8 9 10 11 |
# File 'lib/avalara_sdk/response_hash.rb', line 7 def initialize(body, headers, code) @body = body @headers = headers @code = code end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
3 4 5 |
# File 'lib/avalara_sdk/response_hash.rb', line 3 def body @body end |
#code ⇒ Object
Returns the value of attribute code.
5 6 7 |
# File 'lib/avalara_sdk/response_hash.rb', line 5 def code @code end |
#headers ⇒ Object
Returns the value of attribute headers.
4 5 6 |
# File 'lib/avalara_sdk/response_hash.rb', line 4 def headers @headers end |