We're going to want these nice helper methods, lets share them with a parent class that matches Rails 5 practices (application level abstraction)
This commit is contained in:
5
app/workers/application_worker.rb
Normal file
5
app/workers/application_worker.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class ApplicationWorker
|
||||
def info(message)
|
||||
Rails.logger.info("#{self.class.name} - #{message}")
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user