Class: Airbrake::Rack::UserFilter
- Inherits:
-
Object
- Object
- Airbrake::Rack::UserFilter
- Defined in:
- lib/airbrake/rack/user_filter.rb
Overview
Adds current user information.
Instance Attribute Summary collapse
- #weight ⇒ Integer readonly
Instance Method Summary collapse
- #call(notice) ⇒ Object
-
#initialize ⇒ UserFilter
constructor
A new instance of UserFilter.
Constructor Details
#initialize ⇒ UserFilter
Returns a new instance of UserFilter.
12 13 14 |
# File 'lib/airbrake/rack/user_filter.rb', line 12 def initialize @weight = 99 end |
Instance Attribute Details
#weight ⇒ Integer (readonly)
10 11 12 |
# File 'lib/airbrake/rack/user_filter.rb', line 10 def weight @weight end |