Class: ClaudeAgentSDK::ConfigChangeHookInput

Inherits:
BaseHookInput show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

ConfigChange hook input

Instance Attribute Summary collapse

Attributes inherited from BaseHookInput

#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path

Instance Method Summary collapse

Methods inherited from Type

#[], #[]=, from_hash, #to_h, wrap

Constructor Details

#initialize(attributes = {}) ⇒ ConfigChangeHookInput

Returns a new instance of ConfigChangeHookInput.



733
734
735
736
# File 'lib/claude_agent_sdk/types.rb', line 733

def initialize(attributes = {})
  super
  @hook_event_name = 'ConfigChange'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type

Instance Attribute Details

#file_pathObject

Returns the value of attribute file_path.



731
732
733
# File 'lib/claude_agent_sdk/types.rb', line 731

def file_path
  @file_path
end

#sourceObject

Returns the value of attribute source.



731
732
733
# File 'lib/claude_agent_sdk/types.rb', line 731

def source
  @source
end