Exception: Pay::BraintreeAuthorizationError

Inherits:
BraintreeError show all
Defined in:
lib/pay/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#result

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Pay::Error

Instance Method Details

#messageObject



68
69
70
71
# File 'lib/pay/errors.rb', line 68

def message
  ActiveSupport::Deprecation.warn("Pay::BraintreeAuthorizationError is deprecated. Instead, use `Pay::Braintree::AuthorizationError`.")
  I18n.t("errors.braintree.authorization")
end