Sha256: 4940f6c2e3bd3e0e782dbc414d3ede3a31169b50bcf9ea7a80fcffb097485011

Contents?: true

Size: 538 Bytes

Versions: 2

Compression:

Stored size: 538 Bytes

Contents

# frozen_string_literal: true

module ElasticAPM
  class Span
    class Context
      # @api private
      class Db
        def initialize(
          instance: nil,
          statement: nil,
          type: nil,
          user: nil,
          rows_affected: nil
        )
          @instance = instance
          @statement = statement
          @type = type
          @user = user
          @rows_affected = rows_affected
        end

        attr_accessor :instance, :statement, :type, :user, :rows_affected
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
elastic-apm-3.6.0 lib/elastic_apm/span/context/db.rb
elastic-apm-3.5.0 lib/elastic_apm/span/context/db.rb