class Stripe::Instrumentation::RequestBeginEvent
Event
emitted on `request_begin` callback.
Attributes
method[R]
path[R]
user_data[R]
Arbitrary user-provided data in the form of a Ruby hash that's passed from subscribers on `request_begin` to subscribers on `request_end`. `request_begin` subscribers can set keys which will then be available in `request_end`.
Note that all subscribers of `request_begin` share the same object, so they must be careful to set unique keys so as to not conflict with data set by other subscribers.
Public Class Methods
new(method:, path:, user_data:)
click to toggle source
# File lib/stripe/instrumentation.rb, line 20 def initialize(method:, path:, user_data:) @method = method @path = path @user_data = user_data freeze end