Sha256: d2f0dd6822e6e16dfd525367ed33babcbef871a90be996d1bf92dc55c3e9e71b

Contents?: true

Size: 353 Bytes

Versions: 24

Compression:

Stored size: 353 Bytes

Contents

class ApiKeyController < ActionController::Base
  protect_from_forgery

  def index
    render json: {}
  end

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

  def changing
    Bugsnag.configure do |conf|
      conf.api_key = params[:api_key]
    end
    Bugsnag.notify("handled string")
    render json: {}
  end
end

Version data entries

24 entries across 12 versions & 1 rubygems

Version Path
bugsnag-6.9.0 features/fixtures/rails3/app/app/controllers/api_key_controller.rb
bugsnag-6.9.0 features/fixtures/rails4/app/app/controllers/api_key_controller.rb
bugsnag-6.8.0 features/fixtures/rails3/app/app/controllers/api_key_controller.rb
bugsnag-6.8.0 features/fixtures/rails4/app/app/controllers/api_key_controller.rb