module Rusen

Rusen is a util to help you with the tracking on the

application exceptions, this could be used on any
ruby project. The exceptions can be sent to different
outputs depending on your apps requirements.

Constants

VERSION

Public Class Methods

notifier() click to toggle source
# File lib/rusen.rb, line 27
def self.notifier
  @notifier || Notifier.new(@settings)
end
notify(exception, request = {}, environment = {}, session = {}) click to toggle source

(see Rusen::Notifier#notify)

# File lib/rusen.rb, line 23
def self.notify(exception, request = {}, environment = {}, session = {})
  notifier.notify(exception, request, environment, session)
end
settings() click to toggle source

Returns the global settings for rusen.

This settings apply to the notifications sent with Rusen.notify

@return [Rusen::Settings] rusen global settings.

# File lib/rusen.rb, line 18
def self.settings
  @settings
end