Method: ElasticAPM::Context::User#initialize

Defined in:
lib/elastic_apm/context/user.rb

#initialize(id: nil, email: nil, username: nil) ⇒ User

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of User.



24
25
26
27
28
# File 'lib/elastic_apm/context/user.rb', line 24

def initialize(id: nil, email: nil, username: nil)
  @id = id
  @email = email
  @username = username
end