class Ingenico::Connect::SDK::Webhooks::ApiVersionMismatchException
Raised when a webhooks event has an API version that is not supported by current version of SDK
.
@attr_reader [String] event_api_version
The API version from the webhooks event. @attr_reader [String] sdk_api_version
The API version that this version of the SDK
supports.
Attributes
event_api_version[R]
sdk_api_version[R]
Public Class Methods
new(event_api_version, sdk_api_version)
click to toggle source
Calls superclass method
# File lib/ingenico/connect/sdk/webhooks/api_version_mismatch_exception.rb, line 10 def initialize(event_api_version, sdk_api_version) super("event API version #{event_api_version} is not compatible with SDK API version #{sdk_api_version}") @event_api_version = event_api_version @sdk_api_version = sdk_api_version end