about summary refs log tree commit diff
path: root/app/workers/application_worker.rb
diff options
context:
space:
mode:
authorKurtis Rainbolt-Greene <kurtis@rainbolt-greene.online>2017-04-04 21:14:37 -0700
committerKurtis Rainbolt-Greene <kurtis@rainbolt-greene.online>2017-04-04 21:14:37 -0700
commit22dcadedb495d2e1279b834a624710d34daee6ad (patch)
tree00bc6dbbafd626ace87fe8d653249100e32173ef /app/workers/application_worker.rb
parentccb6a658fd1a2e596c95d5b8e7a39f72a5f5b14b (diff)
We're going to want these nice helper methods, lets share them with a parent class that matches Rails 5 practices (application level abstraction)
Diffstat (limited to 'app/workers/application_worker.rb')
-rw-r--r--app/workers/application_worker.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/workers/application_worker.rb b/app/workers/application_worker.rb
new file mode 100644
index 000000000..f2d7c1062
--- /dev/null
+++ b/app/workers/application_worker.rb
@@ -0,0 +1,5 @@
+class ApplicationWorker
+  def info(message)
+    Rails.logger.info("#{self.class.name} - #{message}")
+  end
+end