Sha256: 6dc32b01cf96fac0ae0ac0e3a21c76c75ab524bad78b58dc7b12269fe001f87e

Contents?: true

Size: 231 Bytes

Versions: 33

Compression:

Stored size: 231 Bytes

Contents

class PublicInfoSetter
  MESSAGE = "set by middleware"
  def initialize(bugsnag)
    @bugsnag = bugsnag
  end

  def call(notification)
    notification.meta_data[:custom][:info] = MESSAGE
    @bugsnag.call(notification)
  end
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
bugsnag-5.5.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.4.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.4.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.3.3 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.3.2 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.3.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.3.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.2.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.1.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.0.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-5.0.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-4.2.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-4.2.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-4.1.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-4.0.2 spec/fixtures/middleware/public_info_setter.rb
bugsnag-4.0.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-4.0.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-3.0.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.13 spec/fixtures/middleware/public_info_setter.rb
bugsnag-maglev--2.8.12 spec/fixtures/middleware/public_info_setter.rb