Method: Sentry::Client#event_from_transaction
- Defined in:
- lib/sentry/client.rb
#event_from_transaction(transaction) ⇒ TransactionEvent
Initializes an Event object with the given Transaction object.
234 235 236 |
# File 'lib/sentry/client.rb', line 234 def event_from_transaction(transaction) TransactionEvent.new(configuration: configuration, transaction: transaction) end |