Exception: Revolut::MethodNotAllowed
- Defined in:
- lib/revolut/error.rb
Overview
Raised when Revolut returns a 405 HTTP status code
Instance Method Summary collapse
-
#to_s ⇒ Object
Default error message.
Methods inherited from Error
error_class, error_message, from_response, #initialize
Constructor Details
This class inherits a constructor from Revolut::Error
Instance Method Details
#to_s ⇒ Object
Default error message.
96 97 98 |
# File 'lib/revolut/error.rb', line 96 def to_s @message || 'You tried to access an endpoint with an invalid method.' end |