Method: ElasticAPM::Context::User#empty?

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

#empty?Boolean

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:

  • (Boolean)


42
43
44
# File 'lib/elastic_apm/context/user.rb', line 42

def empty?
  !id && !email && !username
end