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-1.3.6 spec/support/helpers/notification_helpers.rb
appsignal-1.3.6.beta.1 spec/support/helpers/notification_helpers.rb
appsignal-1.3.5 spec/support/helpers/notification_helpers.rb
appsignal-1.3.5.beta.1 spec/support/helpers/notification_helpers.rb
appsignal-1.3.4 spec/support/helpers/notification_helpers.rb
appsignal-1.3.3 spec/support/helpers/notification_helpers.rb
appsignal-1.4.0.alpha.2 spec/support/helpers/notification_helpers.rb
appsignal-1.4.0.alpha.1 spec/support/helpers/notification_helpers.rb
appsignal-1.3.2 spec/support/helpers/notification_helpers.rb
appsignal-1.3.1 spec/support/helpers/notification_helpers.rb
appsignal-1.3.0 spec/support/helpers/notification_helpers.rb
appsignal-1.3.0.beta.3 spec/support/helpers/notification_helpers.rb
appsignal-1.3.0.beta.2 spec/support/helpers/notification_helpers.rb
appsignal-1.3.0.beta.1 spec/support/helpers/notification_helpers.rb
appsignal-1.2.5 spec/support/helpers/notification_helpers.rb
appsignal-1.2.4 spec/support/helpers/notification_helpers.rb
appsignal-1.2.4.beta.4 spec/support/helpers/notification_helpers.rb
appsignal-1.2.4.beta.3 spec/support/helpers/notification_helpers.rb
appsignal-1.2.4.beta.2 spec/support/helpers/notification_helpers.rb
appsignal-1.2.4.beta.1 spec/support/helpers/notification_helpers.rb