Exception: ActiveWebhook::Configuration::InvalidOptionError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveWebhook::Configuration::InvalidOptionError
- Defined in:
- lib/active_webhook/configuration.rb
Instance Method Summary collapse
-
#initialize(option, value, values) ⇒ InvalidOptionError
constructor
A new instance of InvalidOptionError.
Constructor Details
#initialize(option, value, values) ⇒ InvalidOptionError
Returns a new instance of InvalidOptionError.
6 7 8 9 10 11 |
# File 'lib/active_webhook/configuration.rb', line 6 def initialize(option, value, values) @option = option @values = values msg = "Invalid option for #{option}: #{value}. Must be one of #{values}." super(msg) end |