Exception: Revolut::Auth::NotAuthorizedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/revolut/resources/auth.rb

Instance Method Summary collapse

Constructor Details

#initializeNotAuthorizedError

Returns a new instance of NotAuthorizedError.



8
9
10
11
12
13
# File 'lib/revolut/resources/auth.rb', line 8

def initialize
  super(
    "You need to authorize your app to access the Revolut business account of the user\n" \
      "Please visit #{Revolut::Auth.authorize_url} to get an authorization code that you can then use with the Revolut::Auth.retrieve method to get an access token."
  )
end