Sha256: 0a71254d10fad78a96612b3d6e05234896328480d25d6903079c4b58bfe82ad6
Contents?: true
Size: 406 Bytes
Versions: 129
Compression:
Stored size: 406 Bytes
Contents
module NotificationHelpers def notification_event(args={}) args = { :name => 'process_action.action_controller', :start => fixed_time, :ending => fixed_time + 0.1, :tid => '1', :payload => http_request_env_with_data }.merge(args) ActiveSupport::Notifications::Event.new( args[:name], args[:start], args[:ending], args[:tid], args[:payload] ) end end
Version data entries
129 entries across 129 versions & 1 rubygems