Exception: JobNotifier::Error::InvalidAdapter
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- JobNotifier::Error::InvalidAdapter
- Defined in:
- lib/job_notifier/error.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidAdapter
constructor
A new instance of InvalidAdapter.
Constructor Details
#initialize ⇒ InvalidAdapter
Returns a new instance of InvalidAdapter.
22 23 24 25 |
# File 'lib/job_notifier/error.rb', line 22 def initialize file_names = JobNotifier::Adapters.names.join(", ") super("The adapter must be one of: #{file_names}") end |