Class: ClaudeAgentSDK::NotificationHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::NotificationHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Notification hook input
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#notification_type ⇒ Object
Returns the value of attribute notification_type.
-
#title ⇒ Object
Returns the value of attribute title.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ NotificationHookInput
constructor
A new instance of NotificationHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ NotificationHookInput
Returns a new instance of NotificationHookInput.
643 644 645 646 |
# File 'lib/claude_agent_sdk/types.rb', line 643 def initialize(attributes = {}) super @hook_event_name = 'Notification' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
641 642 643 |
# File 'lib/claude_agent_sdk/types.rb', line 641 def @message end |
#notification_type ⇒ Object
Returns the value of attribute notification_type.
641 642 643 |
# File 'lib/claude_agent_sdk/types.rb', line 641 def notification_type @notification_type end |
#title ⇒ Object
Returns the value of attribute title.
641 642 643 |
# File 'lib/claude_agent_sdk/types.rb', line 641 def title @title end |