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

Version Path
appsignal-0.12.rc.10 spec/support/helpers/notification_helpers.rb
appsignal-0.12.rc.9 spec/support/helpers/notification_helpers.rb
appsignal-0.12.rc.8 spec/support/helpers/notification_helpers.rb
appsignal-0.12.rc.7 spec/support/helpers/notification_helpers.rb
appsignal-0.12.rc.6 spec/support/helpers/notification_helpers.rb
appsignal-0.12.rc.5 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.54 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.53 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.52 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.51 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.50 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.49 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.48 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.47 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.46 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.45 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.44 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.43 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.42 spec/support/helpers/notification_helpers.rb
appsignal-0.12.beta.41 spec/support/helpers/notification_helpers.rb