Sha256: 2ce2ffef349b6f9c389861946657674adf1b037719aa8a3f1aa0a5c52b59f4a7
Contents?: true
Size: 255 Bytes
Versions: 1
Compression:
Stored size: 255 Bytes
Contents
require 'active_support/notifications' module Vx module Worker module Helper::Instrument def instrument(event, payload, &block) ActiveSupport::Notifications.instrument("#{event}.worker", payload, &block) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vx-worker-0.3.0.pre1 | lib/vx/worker/helper/instrument.rb |