Class: ClaudeAgentSDK::StopHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::StopHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Stop hook input
Instance Attribute Summary collapse
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#stop_hook_active ⇒ Object
Returns the value of attribute stop_hook_active.
Attributes inherited from BaseHookInput
#cwd, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'Stop', stop_hook_active: false, **base_args) ⇒ StopHookInput
constructor
A new instance of StopHookInput.
Constructor Details
#initialize(hook_event_name: 'Stop', stop_hook_active: false, **base_args) ⇒ StopHookInput
Returns a new instance of StopHookInput.
310 311 312 313 314 |
# File 'lib/claude_agent_sdk/types.rb', line 310 def initialize(hook_event_name: 'Stop', stop_hook_active: false, **base_args) super(**base_args) @hook_event_name = hook_event_name @stop_hook_active = stop_hook_active end |
Instance Attribute Details
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
308 309 310 |
# File 'lib/claude_agent_sdk/types.rb', line 308 def hook_event_name @hook_event_name end |
#stop_hook_active ⇒ Object
Returns the value of attribute stop_hook_active.
308 309 310 |
# File 'lib/claude_agent_sdk/types.rb', line 308 def stop_hook_active @stop_hook_active end |