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