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