Class: Clerk::SDKHooks::BeforeRequestHookContext
- Inherits:
-
HookContext
- Object
- HookContext
- Clerk::SDKHooks::BeforeRequestHookContext
- Defined in:
- lib/clerk/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.
42 43 44 45 46 47 48 49 50 |
# File 'lib/clerk/sdk_hooks/types.rb', line 42 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 |