Class: ClaudeAgentSDK::PreCompactHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::PreCompactHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
PreCompact hook input
Instance Attribute Summary collapse
-
#custom_instructions ⇒ Object
Returns the value of attribute custom_instructions.
-
#trigger ⇒ Object
Returns the value of attribute trigger.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ PreCompactHookInput
constructor
A new instance of PreCompactHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ PreCompactHookInput
Returns a new instance of PreCompactHookInput.
673 674 675 676 |
# File 'lib/claude_agent_sdk/types.rb', line 673 def initialize(attributes = {}) super @hook_event_name = 'PreCompact' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#custom_instructions ⇒ Object
Returns the value of attribute custom_instructions.
671 672 673 |
# File 'lib/claude_agent_sdk/types.rb', line 671 def custom_instructions @custom_instructions end |
#trigger ⇒ Object
Returns the value of attribute trigger.
671 672 673 |
# File 'lib/claude_agent_sdk/types.rb', line 671 def trigger @trigger end |