Class: ClaudeAgentSDK::ConfigChangeHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::ConfigChangeHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
ConfigChange hook input
Instance Attribute Summary collapse
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#source ⇒ Object
Returns the value of attribute source.
Attributes inherited from BaseHookInput
#cwd, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'ConfigChange', source: nil, file_path: nil, **base_args) ⇒ ConfigChangeHookInput
constructor
A new instance of ConfigChangeHookInput.
Constructor Details
#initialize(hook_event_name: 'ConfigChange', source: nil, file_path: nil, **base_args) ⇒ ConfigChangeHookInput
Returns a new instance of ConfigChangeHookInput.
959 960 961 962 963 964 |
# File 'lib/claude_agent_sdk/types.rb', line 959 def initialize(hook_event_name: 'ConfigChange', source: nil, file_path: nil, **base_args) super(**base_args) @hook_event_name = hook_event_name @source = source # "user_settings", "project_settings", "local_settings", "policy_settings", "skills" @file_path = file_path end |
Instance Attribute Details
#file_path ⇒ Object
Returns the value of attribute file_path.
957 958 959 |
# File 'lib/claude_agent_sdk/types.rb', line 957 def file_path @file_path end |
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
957 958 959 |
# File 'lib/claude_agent_sdk/types.rb', line 957 def hook_event_name @hook_event_name end |
#source ⇒ Object
Returns the value of attribute source.
957 958 959 |
# File 'lib/claude_agent_sdk/types.rb', line 957 def source @source end |