Class: VertexClient::Response::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/vertex_client/responses/base.rb

Direct Known Subclasses

DistributeTax, Quotation, TaxArea

Instance Method Summary collapse

Constructor Details

#initialize(vertex_response) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/vertex_client/responses/base.rb', line 6

def initialize(vertex_response)
  @body = vertex_response.body[:vertex_envelope][response_key].with_indifferent_access
end