Exception: JobNotifier::Error::InvalidAdapter

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/job_notifier/error.rb

Instance Method Summary collapse

Constructor Details

#initializeInvalidAdapter

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