Sha256: 11cfeace409d91cec3f331b00b26120c48b29784a5bd768bfec4e405df7bd245

Contents?: true

Size: 221 Bytes

Versions: 30

Compression:

Stored size: 221 Bytes

Contents

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

  def call(report)
    report.meta_data.merge!({custom: {info: MESSAGE}})
    @bugsnag.call(report)
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
bugsnag-6.15.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.14.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.13.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.13.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.12.2 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.12.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.12.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.11.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.11.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.10.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.9.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.8.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.7.3 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.7.2 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.7.1 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.7.0 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.6.4 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.6.3 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.6.2 spec/fixtures/middleware/public_info_setter.rb
bugsnag-6.6.1 spec/fixtures/middleware/public_info_setter.rb