Class Airbrake::Rack::User
In: lib/airbrake/rack/user.rb
Parent: Object

Represents an authenticated user, which can be converted to Airbrake‘s payload format. Supports Warden and Omniauth authentication frameworks.

Methods

as_json   extract   new  

Public Class methods

Finds the user in the Rack environment and creates a new user wrapper.

@param [Hash{String=>Object}] rack_env The Rack environment @return [Airbrake::Rack::User, nil]

Public Instance methods

[Validate]