Exception: StarlingTerminal::MissingAccessTokenError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/starling_terminal/errors/missing_access_token_error.rb

Overview

Raised if there is no access token provided for accessing the Starling Bank API

Instance Method Summary collapse

Instance Method Details

#messageObject Also known as: to_s



6
7
8
9
10
11
# File 'lib/starling_terminal/errors/missing_access_token_error.rb', line 6

def message
  'Starling Terminal needs an access token to access the Starling Bank API on your' \
  ' behalf. Head to the Personal Access section at https://developer.starlingbank.' \
  'com/get-started to get started, then set the environment variable ' \
  '$STARLING_ACCESS_TOKEN.'
end