Exception: Adyen::API::SimpleSOAPClient::ClientError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/adyen/api.rb

Instance Method Summary collapse

Constructor Details

#initialize(response, action, endpoint) ⇒ ClientError

Returns a new instance of ClientError.



48
49
50
# File 'lib/adyen/api.rb', line 48

def initialize(response, action, endpoint)
  @response, @action, @endpoint = response, action, endpoint
end

Instance Method Details

#messageObject



52
53
54
# File 'lib/adyen/api.rb', line 52

def message
  "[#{@response.code} #{@response.message}] A client error occurred while calling SOAP action `#{@action}' on endpoint `#{@endpoint}'."
end