Sha256: 2af58bc351f8ea9a7f3653864115e6eac537d344d7c6673ded400f50b519af91

Contents?: true

Size: 376 Bytes

Versions: 12

Compression:

Stored size: 376 Bytes

Contents

initiator = ENV['CALLBACK_INITIATOR']

require "./report_modification/initiators/#{initiator}"

callback = Proc.new do |report|
  report.add_tab(:additional_metadata, {
    :foo => 'foo',
    :bar => [
      'b',
      'a',
      'r'
    ]
  })
  report.add_tab(:additional_metadata, {
    :foobar => {
      :first => 'foo',
      :then => 'bar'
    }
  })
end

run(callback)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.14.0 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.13.1 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.13.0 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.12.2 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.12.1 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.12.0 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.11.1 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.11.0 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.10.0 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.9.0 features/fixtures/plain/app/report_modification/add_tab_existing.rb
bugsnag-6.8.0 features/fixtures/plain/app/report_modification/add_tab_existing.rb