module Fanforce::PluginWorker::Utils extend self def self.included(base) base.extend(self) end def log Fanforce::PluginWorker.log end def iron_queue_id(iron_queue_id) (ENV['RACK_ENV'] == 'development' && ENV['DEVELOPER_EMAIL']) ? "#{iron_queue_id}:#{ENV['DEVELOPER_EMAIL']}" : iron_queue_id end end