Class: ClaudeAgentSDK::WorktreeCreateHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::WorktreeCreateHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
WorktreeCreate hook input
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ WorktreeCreateHookInput
constructor
A new instance of WorktreeCreateHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ WorktreeCreateHookInput
Returns a new instance of WorktreeCreateHookInput.
743 744 745 746 |
# File 'lib/claude_agent_sdk/types.rb', line 743 def initialize(attributes = {}) super @hook_event_name = 'WorktreeCreate' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
741 742 743 |
# File 'lib/claude_agent_sdk/types.rb', line 741 def name @name end |