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