Method: Sentry::Scope#get_transaction

Defined in:
lib/sentry/scope.rb

#get_transactionTransaction?

Returns the associated Transaction object.

Returns:

[View source]

261
262
263
# File 'lib/sentry/scope.rb', line 261

def get_transaction
  span.transaction if span
end