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.
605 606 607 |
# File 'lib/claude_agent_sdk/types.rb', line 605 def cwd @cwd end |
#hook_event_name ⇒ Object (readonly)
Returns the value of attribute hook_event_name.
606 607 608 |
# File 'lib/claude_agent_sdk/types.rb', line 606 def hook_event_name @hook_event_name end |
#permission_mode ⇒ Object
Returns the value of attribute permission_mode.
605 606 607 |
# File 'lib/claude_agent_sdk/types.rb', line 605 def @permission_mode end |
#session_id ⇒ Object
Returns the value of attribute session_id.
605 606 607 |
# File 'lib/claude_agent_sdk/types.rb', line 605 def session_id @session_id end |
#transcript_path ⇒ Object
Returns the value of attribute transcript_path.
605 606 607 |
# File 'lib/claude_agent_sdk/types.rb', line 605 def transcript_path @transcript_path end |