Exception: PayPal::SDK::Core::Exceptions::MethodNotAllowed
- Inherits:
-
ClientError
- Object
- StandardError
- ConnectionError
- ClientError
- PayPal::SDK::Core::Exceptions::MethodNotAllowed
- Defined in:
- lib/paypal-sdk/core/exceptions.rb
Overview
405 Method Not Allowed
Instance Attribute Summary
Attributes inherited from ConnectionError
Instance Method Summary collapse
-
#allowed_methods ⇒ Object
:nodoc:.
Methods inherited from ConnectionError
Constructor Details
This class inherits a constructor from PayPal::SDK::Core::Exceptions::ConnectionError
Instance Method Details
#allowed_methods ⇒ Object
:nodoc:
91 92 93 |
# File 'lib/paypal-sdk/core/exceptions.rb', line 91 def allowed_methods @response['Allow'].split(',').map { |verb| verb.strip.downcase.to_sym } end |