Class: DingSDK::SDKHooks::AfterSuccessHookContext
- Inherits:
-
HookContext
- Object
- HookContext
- DingSDK::SDKHooks::AfterSuccessHookContext
- Extended by:
- T::Sig
- Defined in:
- lib/ding_sdk/sdk_hooks/types.rb
Instance Attribute Summary
Attributes inherited from HookContext
#base_url, #oauth2_scopes, #operation_id, #security_source
Instance Method Summary collapse
-
#initialize(hook_ctx:) ⇒ AfterSuccessHookContext
constructor
A new instance of AfterSuccessHookContext.
Constructor Details
#initialize(hook_ctx:) ⇒ AfterSuccessHookContext
Returns a new instance of AfterSuccessHookContext.
67 68 69 70 71 72 73 74 |
# File 'lib/ding_sdk/sdk_hooks/types.rb', line 67 def initialize(hook_ctx:) super( 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 |