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.
980 981 982 983 984 985 |
# File 'lib/claude_agent_sdk/types.rb', line 980 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.
978 979 980 |
# File 'lib/claude_agent_sdk/types.rb', line 978 def file_path @file_path end |
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
978 979 980 |
# File 'lib/claude_agent_sdk/types.rb', line 978 def hook_event_name @hook_event_name end |
#source ⇒ Object
Returns the value of attribute source.
978 979 980 |
# File 'lib/claude_agent_sdk/types.rb', line 978 def source @source end |