Class: ClaudeAgentSDK::BaseHookInput

Inherits:
Type
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Base hook input with common fields

Instance Attribute Summary collapse

Method Summary

Methods inherited from Type

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

Constructor Details

This class inherits a constructor from ClaudeAgentSDK::Type

Dynamic Method Handling

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

Instance Attribute Details

#cwdObject

Returns the value of attribute cwd.



571
572
573
# File 'lib/claude_agent_sdk/types.rb', line 571

def cwd
  @cwd
end

#hook_event_nameObject (readonly)

Returns the value of attribute hook_event_name.



572
573
574
# File 'lib/claude_agent_sdk/types.rb', line 572

def hook_event_name
  @hook_event_name
end

#permission_modeObject

Returns the value of attribute permission_mode.



571
572
573
# File 'lib/claude_agent_sdk/types.rb', line 571

def permission_mode
  @permission_mode
end

#session_idObject

Returns the value of attribute session_id.



571
572
573
# File 'lib/claude_agent_sdk/types.rb', line 571

def session_id
  @session_id
end

#transcript_pathObject

Returns the value of attribute transcript_path.



571
572
573
# File 'lib/claude_agent_sdk/types.rb', line 571

def transcript_path
  @transcript_path
end