Sha256: de18e23b9ed324a81539e09fe869c3cd5ef94340abdfc5b4a8e52e417f705b4a

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

require 'elastic_apm/context/request'
require 'elastic_apm/context/request/socket'
require 'elastic_apm/context/request/url'
require 'elastic_apm/context/response'
require 'elastic_apm/context/user'

module ElasticAPM
  # @api private
  class Context
    attr_accessor :request, :response, :user
    attr_reader :custom, :tags

    def initialize(custom: {}, tags: {})
      @custom = custom
      @tags = tags
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elastic-apm-2.1.2 lib/elastic_apm/context.rb
elastic-apm-2.1.1 lib/elastic_apm/context.rb
elastic-apm-2.1.0 lib/elastic_apm/context.rb