Class: ClaudeAgentSDK::BaseHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Base hook input with common fields
Direct Known Subclasses
ConfigChangeHookInput, CwdChangedHookInput, ElicitationHookInput, ElicitationResultHookInput, FileChangedHookInput, InstructionsLoadedHookInput, NotificationHookInput, PermissionDeniedHookInput, PermissionRequestHookInput, PostCompactHookInput, PostToolUseFailureHookInput, PostToolUseHookInput, PreCompactHookInput, PreToolUseHookInput, SessionEndHookInput, SessionStartHookInput, SetupHookInput, StopFailureHookInput, StopHookInput, SubagentStartHookInput, SubagentStopHookInput, TaskCompletedHookInput, TaskCreatedHookInput, TeammateIdleHookInput, UserPromptSubmitHookInput, WorktreeCreateHookInput, WorktreeRemoveHookInput
Instance Attribute Summary collapse
-
#cwd ⇒ Object
Returns the value of attribute cwd.
-
#hook_event_name ⇒ Object
readonly
Returns the value of attribute hook_event_name.
-
#permission_mode ⇒ Object
Returns the value of attribute permission_mode.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#transcript_path ⇒ Object
Returns the value of attribute transcript_path.
Method Summary
Methods inherited from Type
#[], #[]=, from_hash, #initialize, #to_h, wrap
Constructor Details
This class inherits a constructor from ClaudeAgentSDK::Type
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#cwd ⇒ Object
Returns the value of attribute cwd.
571 572 573 |
# File 'lib/claude_agent_sdk/types.rb', line 571 def cwd @cwd end |
#hook_event_name ⇒ Object (readonly)
Returns the value of attribute hook_event_name.
572 573 574 |
# File 'lib/claude_agent_sdk/types.rb', line 572 def hook_event_name @hook_event_name end |
#permission_mode ⇒ Object
Returns the value of attribute permission_mode.
571 572 573 |
# File 'lib/claude_agent_sdk/types.rb', line 571 def @permission_mode end |
#session_id ⇒ Object
Returns the value of attribute session_id.
571 572 573 |
# File 'lib/claude_agent_sdk/types.rb', line 571 def session_id @session_id end |
#transcript_path ⇒ Object
Returns the value of attribute transcript_path.
571 572 573 |
# File 'lib/claude_agent_sdk/types.rb', line 571 def transcript_path @transcript_path end |