Class: AvalaraSdk::ResponseHash

Inherits:
Object
  • Object
show all
Defined in:
lib/avalara_sdk/response_hash.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

Returns the value of attribute body.



3
4
5
# File 'lib/avalara_sdk/response_hash.rb', line 3

def body
  @body
end

#codeObject

Returns the value of attribute code.



5
6
7
# File 'lib/avalara_sdk/response_hash.rb', line 5

def code
  @code
end

#headersObject

Returns the value of attribute headers.



4
5
6
# File 'lib/avalara_sdk/response_hash.rb', line 4

def headers
  @headers
end