Class: ClaudeAgentSDK::InstructionsLoadedHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::InstructionsLoadedHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
InstructionsLoaded hook input
Instance Attribute Summary collapse
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#globs ⇒ Object
Returns the value of attribute globs.
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#load_reason ⇒ Object
Returns the value of attribute load_reason.
-
#memory_type ⇒ Object
Returns the value of attribute memory_type.
-
#trigger_file_path ⇒ Object
Returns the value of attribute trigger_file_path.
Attributes inherited from BaseHookInput
#cwd, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'InstructionsLoaded', file_path: nil, memory_type: nil, load_reason: nil, globs: nil, trigger_file_path: nil, **base_args) ⇒ InstructionsLoadedHookInput
constructor
A new instance of InstructionsLoadedHookInput.
Constructor Details
#initialize(hook_event_name: 'InstructionsLoaded', file_path: nil, memory_type: nil, load_reason: nil, globs: nil, trigger_file_path: nil, **base_args) ⇒ InstructionsLoadedHookInput
Returns a new instance of InstructionsLoadedHookInput.
1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 |
# File 'lib/claude_agent_sdk/types.rb', line 1107 def initialize(hook_event_name: 'InstructionsLoaded', file_path: nil, memory_type: nil, load_reason: nil, globs: nil, trigger_file_path: nil, **base_args) super(**base_args) @hook_event_name = hook_event_name @file_path = file_path @memory_type = memory_type @load_reason = load_reason @globs = globs @trigger_file_path = trigger_file_path end |
Instance Attribute Details
#file_path ⇒ Object
Returns the value of attribute file_path.
1105 1106 1107 |
# File 'lib/claude_agent_sdk/types.rb', line 1105 def file_path @file_path end |
#globs ⇒ Object
Returns the value of attribute globs.
1105 1106 1107 |
# File 'lib/claude_agent_sdk/types.rb', line 1105 def globs @globs end |
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
1105 1106 1107 |
# File 'lib/claude_agent_sdk/types.rb', line 1105 def hook_event_name @hook_event_name end |
#load_reason ⇒ Object
Returns the value of attribute load_reason.
1105 1106 1107 |
# File 'lib/claude_agent_sdk/types.rb', line 1105 def load_reason @load_reason end |
#memory_type ⇒ Object
Returns the value of attribute memory_type.
1105 1106 1107 |
# File 'lib/claude_agent_sdk/types.rb', line 1105 def memory_type @memory_type end |
#trigger_file_path ⇒ Object
Returns the value of attribute trigger_file_path.
1105 1106 1107 |
# File 'lib/claude_agent_sdk/types.rb', line 1105 def trigger_file_path @trigger_file_path end |