class StackifyRubyAPM::Instrumenter::TransactionInfo

Transaction Info class

Public Class Methods

new() click to toggle source
# File lib/stackify_apm/instrumenter.rb, line 16
def initialize
  self.current = nil
end

Public Instance Methods

current() click to toggle source
# File lib/stackify_apm/instrumenter.rb, line 20
def current
  Thread.current[KEY]
end
current=(transaction) click to toggle source
# File lib/stackify_apm/instrumenter.rb, line 24
def current=(transaction)
  Thread.current[KEY] = transaction
end