class LightStep::Transport::Callback
Public Class Methods
new(callback:)
click to toggle source
# File lib/lightstep/transport/callback.rb, line 6 def initialize(callback:) @callback = callback end
Public Instance Methods
report(report)
click to toggle source
# File lib/lightstep/transport/callback.rb, line 10 def report(report) @callback.call(report) nil end