Exception: LemonWay::MissingConfigurationError
- Inherits:
-
StandardError
- Object
- StandardError
- LemonWay::MissingConfigurationError
- Defined in:
- lib/lemon_way/error.rb
Instance Method Summary collapse
-
#initialize ⇒ MissingConfigurationError
constructor
A new instance of MissingConfigurationError.
Constructor Details
#initialize ⇒ MissingConfigurationError
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 |