about summary refs log tree commit diff
path: root/app/workers/application_worker.rb
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-04-05 10:23:52 +0200
committerGitHub <noreply@github.com>2017-04-05 10:23:52 +0200
commit6b566c6b885f5a6857cee7e0731273ba7a1aa498 (patch)
tree44c779e27e34c78fa49aa0aecaf7adb7f2152150 /app/workers/application_worker.rb
parent6b02591fa3b08598a348512ccac47a1fb881a6a5 (diff)
parent22dcadedb495d2e1279b834a624710d34daee6ad (diff)
Merge pull request #908 from krainboltgreene/application-worker-for-shared-logic
ApplicationWorker for shared worker behavior
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