class ElasticAPM::Context
@api private
@api private
@api private
Attributes
custom[R]
request[RW]
response[RW]
user[RW]
Public Class Methods
new(custom: {}, tags: {}, user: nil)
click to toggle source
# File lib/elastic_apm/context.rb, line 12 def initialize(custom: {}, tags: {}, user: nil) @custom = custom @tags = tags @user = user || User.new end
Public Instance Methods
empty?()
click to toggle source
# File lib/elastic_apm/context.rb, line 24 def empty? return false if tags.any? return false if custom.any? return false if user.any? return false if request || response true end