Exception: LemonWay::MissingConfigurationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/lemon_way/error.rb

Instance Method Summary collapse

Constructor Details

#initializeMissingConfigurationError

Returns a new instance of MissingConfigurationError.



5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/lemon_way/error.rb', line 5

def initialize
  super(%(Your LemonWay configuration is missing.
    Try:

    LemonWay.configuration = {
      login: 'YOUR_LOGIN',
      password: 'YOUR_PASSWORD',
      company: 'YOUR_COMPANY'
    }

    These are the optional options: { sandbox:, language: }
  ))
end