Class: KintsugiSDK::SDKHooks::BeforeRequestHookContext
- Inherits:
-
HookContext
- Object
- HookContext
- KintsugiSDK::SDKHooks::BeforeRequestHookContext
- Extended by:
- T::Sig
- Defined in:
- lib/kintsugi_sdk/sdk_hooks/types.rb
Instance Attribute Summary
Attributes inherited from HookContext
#base_url, #config, #oauth2_scopes, #operation_id, #security_source
Instance Method Summary collapse
-
#initialize(hook_ctx:) ⇒ BeforeRequestHookContext
constructor
A new instance of BeforeRequestHookContext.
Constructor Details
#initialize(hook_ctx:) ⇒ BeforeRequestHookContext
Returns a new instance of BeforeRequestHookContext.
54 55 56 57 58 59 60 61 62 |
# File 'lib/kintsugi_sdk/sdk_hooks/types.rb', line 54 def initialize(hook_ctx:) super( config: hook_ctx.config, base_url: hook_ctx.base_url, operation_id: hook_ctx.operation_id, oauth2_scopes: hook_ctx.oauth2_scopes, security_source: hook_ctx.security_source ) end |