Exception: BackgroundJobs::UnknownBackgroundJobsQueueStrategy

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/background_jobs/job_queue_factory.rb

Instance Method Summary collapse

Constructor Details

#initialize(strategy_name) ⇒ UnknownBackgroundJobsQueueStrategy

Returns a new instance of UnknownBackgroundJobsQueueStrategy.



5
6
7
# File 'lib/background_jobs/job_queue_factory.rb', line 5

def initialize(strategy_name)
  @strategy_name = strategy_name
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/background_jobs/job_queue_factory.rb', line 9

def to_s
  "Unknown strategy '#{@strategy_name}' doesnt exist!"
end