Class: VertexClient::Resource::Quotation

Inherits:
Base
  • Object
show all
Defined in:
lib/vertex_client/resources/quotation.rb

Constant Summary collapse

ENDPOINT =
'CalculateTax70'.freeze

Instance Method Summary collapse

Methods inherited from Base

#config_key, #initialize, #result

Constructor Details

This class inherits a constructor from VertexClient::Resource::Base

Instance Method Details

#fallback_responseObject



6
7
8
9
# File 'lib/vertex_client/resources/quotation.rb', line 6

def fallback_response
  fallback_payload = Payload::QuotationFallback.new(@payload.params)
  Response::QuotationFallback.new(fallback_payload)
end