Class: ClaudeAgentSDK::WorktreeRemoveHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::WorktreeRemoveHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
WorktreeRemove hook input
Instance Attribute Summary collapse
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#worktree_path ⇒ Object
Returns the value of attribute worktree_path.
Attributes inherited from BaseHookInput
#cwd, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'WorktreeRemove', worktree_path: nil, **base_args) ⇒ WorktreeRemoveHookInput
constructor
A new instance of WorktreeRemoveHookInput.
Constructor Details
#initialize(hook_event_name: 'WorktreeRemove', worktree_path: nil, **base_args) ⇒ WorktreeRemoveHookInput
Returns a new instance of WorktreeRemoveHookInput.
982 983 984 985 986 |
# File 'lib/claude_agent_sdk/types.rb', line 982 def initialize(hook_event_name: 'WorktreeRemove', worktree_path: nil, **base_args) super(**base_args) @hook_event_name = hook_event_name @worktree_path = worktree_path end |
Instance Attribute Details
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
980 981 982 |
# File 'lib/claude_agent_sdk/types.rb', line 980 def hook_event_name @hook_event_name end |
#worktree_path ⇒ Object
Returns the value of attribute worktree_path.
980 981 982 |
# File 'lib/claude_agent_sdk/types.rb', line 980 def worktree_path @worktree_path end |