Sha256: 97738966d348bf44639a32658589baf37211061e9fb2e9a7c904bfedee83fb5b

Contents?: true

Size: 1.08 KB

Versions: 20

Compression:

Stored size: 1.08 KB

Contents

Rollbar.configure do |config|
  config.access_token = 'aaaabbbbccccddddeeeeffff00001111'
  config.open_timeout = 60
  config.request_timeout = 60
  config.js_enabled = true
  config.js_options = {
    :foo => :bar
  }
  # By default, Rollbar will try to call the `current_user` controller method
  # to fetch the logged-in user object, and then call that object's `id`,
  # `username`, and `email` methods to fetch those properties. To customize:
  # config.person_method = "my_current_user"
  # config.person_id_method = "my_id"
  # config.person_username_method = "my_username"
  # config.person_email_method = "my_email"

  # Add exception class names to the exception_level_filters hash to
  # change the level that exception is reported at. Note that if an exception
  # has already been reported and logged the level will need to be changed
  # via the rollbar interface.
  # Valid levels: 'critical', 'error', 'warning', 'info', 'debug', 'ignore'
  # 'ignore' will cause the exception to not be reported at all.
  # config.exception_level_filters.merge!('MyCriticalException' => 'critical')
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rollbar-2.15.6 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.15.5 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.15.4 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.15.3 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.15.2 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.15.1 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.15.0 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.14.1 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.14.0 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.13.3 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.13.2 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.13.1 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.13.0 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.12.0 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.11.5 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.11.4 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.11.3 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.11.2 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.11.1 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.11.0 spec/dummyapp/config/initializers/rollbar.rb