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.
1010 1011 1012 1013 1014 1015 |
# File 'lib/claude_agent_sdk/types.rb', line 1010 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.
1008 1009 1010 |
# File 'lib/claude_agent_sdk/types.rb', line 1008 def file_path @file_path end |
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
1008 1009 1010 |
# File 'lib/claude_agent_sdk/types.rb', line 1008 def hook_event_name @hook_event_name end |
#source ⇒ Object
Returns the value of attribute source.
1008 1009 1010 |
# File 'lib/claude_agent_sdk/types.rb', line 1008 def source @source end |