Exception: PaystackGateway::Transactions::InitializeTransactionError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/paystack_gateway/transactions.rb

Overview

Raised when an error occurs while calling POST /transaction/initialize

Constant Summary

Constants inherited from ApiError

ApiError::CONNECTION_ERROR_CLASSES

Instance Attribute Summary

Attributes inherited from ApiError

#cancellable, #original_error

Instance Method Summary collapse

Methods inherited from ApiError

#initialize, #method_missing, #network_error?, #respond_to_missing?

Constructor Details

This class inherits a constructor from PaystackGateway::ApiError

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PaystackGateway::ApiError

Instance Method Details

#cancellable?Boolean

Returns:

  • (Boolean)


17
# File 'lib/paystack_gateway/transactions.rb', line 17

def cancellable? = super || network_error?