Class: ClaudeAgentSDK::PostCompactHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::PostCompactHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
PostCompact hook input
Instance Attribute Summary collapse
-
#compact_summary ⇒ Object
Returns the value of attribute compact_summary.
-
#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 = {}) ⇒ PostCompactHookInput
constructor
A new instance of PostCompactHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ PostCompactHookInput
Returns a new instance of PostCompactHookInput.
773 774 775 776 |
# File 'lib/claude_agent_sdk/types.rb', line 773 def initialize(attributes = {}) super @hook_event_name = 'PostCompact' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#compact_summary ⇒ Object
Returns the value of attribute compact_summary.
771 772 773 |
# File 'lib/claude_agent_sdk/types.rb', line 771 def compact_summary @compact_summary end |
#trigger ⇒ Object
Returns the value of attribute trigger.
771 772 773 |
# File 'lib/claude_agent_sdk/types.rb', line 771 def trigger @trigger end |