Exception: Consently::UnknownProvider
- Defined in:
- lib/consently.rb
Overview
A provider key that was never registered - almost always a typo in the initializer, so the message lists what is available.
Instance Method Summary collapse
-
#initialize(key) ⇒ UnknownProvider
constructor
A new instance of UnknownProvider.
Constructor Details
#initialize(key) ⇒ UnknownProvider
Returns a new instance of UnknownProvider.
25 26 27 |
# File 'lib/consently.rb', line 25 def initialize(key) super("Unknown Consently provider #{key.inspect}. Available: #{Providers::Base.registry.keys.sort.join(", ")}") end |