Sha256: 5b5597e9a23fb4832654b02ce8f23013912a321515fab2e355843bb7a2fac5b5

Contents?: true

Size: 304 Bytes

Versions: 19

Compression:

Stored size: 304 Bytes

Contents

class SendCodeController < ActionController::Base
  protect_from_forgery

  def initializer
    Bugsnag.notify("handled string")
    render json: {}
  end

  def after
    Bugsnag.configure do |conf|
      conf.send_code = false
    end
    Bugsnag.notify("handled string")
    render json: {}
  end
end

Version data entries

19 entries across 12 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/fixtures/rails6/app/app/controllers/send_code_controller.rb
bugsnag-6.15.0 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.14.0 features/fixtures/rails6/app/app/controllers/send_code_controller.rb
bugsnag-6.14.0 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.13.1 features/fixtures/rails6/app/app/controllers/send_code_controller.rb
bugsnag-6.13.1 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.13.0 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.13.0 features/fixtures/rails6/app/app/controllers/send_code_controller.rb
bugsnag-6.12.2 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.12.2 features/fixtures/rails6/app/app/controllers/send_code_controller.rb
bugsnag-6.12.1 features/fixtures/rails6/app/app/controllers/send_code_controller.rb
bugsnag-6.12.1 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.12.0 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.12.0 features/fixtures/rails6/app/app/controllers/send_code_controller.rb
bugsnag-6.11.1 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.11.0 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.10.0 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.9.0 features/fixtures/rails5/app/app/controllers/send_code_controller.rb
bugsnag-6.8.0 features/fixtures/rails5/app/app/controllers/send_code_controller.rb