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