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-2.8.12 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.11 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.10 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.9 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.8 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.7 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.6 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.5 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.4 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.3 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.2 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-2.8.0 spec/fixtures/middleware/public_info_setter.rb