Class: PaymentKit::Instrumentation::RequestBeginEvent
- Inherits:
-
Object
- Object
- PaymentKit::Instrumentation::RequestBeginEvent
- Defined in:
- lib/payment_kit/instrumentation.rb
Overview
Emitted before the request leaves the process.
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
HTTP verb as a Symbol, e.g.
-
#path ⇒ Object
readonly
Request path, relative to the account base URL.
Instance Method Summary collapse
-
#initialize(method:, path:) ⇒ RequestBeginEvent
constructor
:nodoc:.
Constructor Details
#initialize(method:, path:) ⇒ RequestBeginEvent
:nodoc:
27 28 29 30 |
# File 'lib/payment_kit/instrumentation.rb', line 27 def initialize(method:, path:) # :nodoc: @method = method @path = path end |
Instance Attribute Details
#method ⇒ Object (readonly)
HTTP verb as a Symbol, e.g. :post.
22 23 24 |
# File 'lib/payment_kit/instrumentation.rb', line 22 def method @method end |
#path ⇒ Object (readonly)
Request path, relative to the account base URL.
25 26 27 |
# File 'lib/payment_kit/instrumentation.rb', line 25 def path @path end |