Exception: Worldline::Acquiring::SDK::V1::ValidationException

Inherits:
ApiException
  • Object
show all
Defined in:
lib/worldline/acquiring/sdk/v1/validation_exception.rb

Overview

Represents an error response from the Worldline Acquiring platform when validation of requests failed.

Instance Attribute Summary

Attributes inherited from ApiException

#detail, #instance, #response_body, #status, #status_code, #title, #type

Instance Method Summary collapse

Methods inherited from ApiException

#to_s

Constructor Details

#initialize(status_code, response_body, type, title, status, detail, instance, message = 'The Worldline Acquiring platform returned an incorrect request error response') ⇒ ValidationException

Create a new ValidationException.



15
16
17
18
# File 'lib/worldline/acquiring/sdk/v1/validation_exception.rb', line 15

def initialize(status_code, response_body, type, title, status, detail, instance,
               message='The Worldline Acquiring platform returned an incorrect request error response')
  super(status_code, response_body, type, title, status, detail, instance, message)
end