Exception: Revolut::Auth::NotAuthorizedError
- Inherits:
-
StandardError
- Object
- StandardError
- Revolut::Auth::NotAuthorizedError
- Defined in:
- lib/revolut/resources/auth.rb
Instance Method Summary collapse
-
#initialize ⇒ NotAuthorizedError
constructor
A new instance of NotAuthorizedError.
Constructor Details
#initialize ⇒ NotAuthorizedError
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.} to get an authorization code that you can then use with the Revolut::Auth.retrieve method to get an access token." ) end |