Class: VertexClient::Resource::Invoice

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

Direct Known Subclasses

DistributeTax

Constant Summary collapse

ENDPOINT =
'CalculateTax70'.freeze
ERROR_MESSAGE =
'The Vertex API returned an error or is unavailable'.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

Raises:



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

def fallback_response
  raise ServerError, ERROR_MESSAGE
end