class Revolut::MethodNotAllowed

Raised when Revolut returns a 405 HTTP status code

Public Instance Methods

to_s() click to toggle source

Default error message.

# File lib/revolut/error.rb, line 96
def to_s
  @message || 'You tried to access an endpoint with an invalid method.'
end