Class: DingSDK::SDKHooks::AfterErrorHookContext

Inherits:
HookContext
  • Object
show all
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

Constructor Details

#initialize(hook_ctx:) ⇒ AfterErrorHookContext

Returns a new instance of AfterErrorHookContext.



85
86
87
88
89
90
91
92
# File 'lib/ding_sdk/sdk_hooks/types.rb', line 85

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