Class: ClaudeAgentSDK::WorktreeCreateHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::WorktreeCreateHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
WorktreeCreate hook input
Instance Attribute Summary collapse
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from BaseHookInput
#cwd, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'WorktreeCreate', name: nil, **base_args) ⇒ WorktreeCreateHookInput
constructor
A new instance of WorktreeCreateHookInput.
Constructor Details
#initialize(hook_event_name: 'WorktreeCreate', name: nil, **base_args) ⇒ WorktreeCreateHookInput
Returns a new instance of WorktreeCreateHookInput.
971 972 973 974 975 |
# File 'lib/claude_agent_sdk/types.rb', line 971 def initialize(hook_event_name: 'WorktreeCreate', name: nil, **base_args) super(**base_args) @hook_event_name = hook_event_name @name = name end |
Instance Attribute Details
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
969 970 971 |
# File 'lib/claude_agent_sdk/types.rb', line 969 def hook_event_name @hook_event_name end |
#name ⇒ Object
Returns the value of attribute name.
969 970 971 |
# File 'lib/claude_agent_sdk/types.rb', line 969 def name @name end |