Class: ClaudeAgentSDK::SystemMessage
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::SystemMessage
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
System message with metadata
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#subtype ⇒ Object
Returns the value of attribute subtype.
Instance Method Summary collapse
-
#initialize(subtype:, data:) ⇒ SystemMessage
constructor
A new instance of SystemMessage.
Constructor Details
#initialize(subtype:, data:) ⇒ SystemMessage
Returns a new instance of SystemMessage.
109 110 111 112 |
# File 'lib/claude_agent_sdk/types.rb', line 109 def initialize(subtype:, data:) @subtype = subtype @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
107 108 109 |
# File 'lib/claude_agent_sdk/types.rb', line 107 def data @data end |
#subtype ⇒ Object
Returns the value of attribute subtype.
107 108 109 |
# File 'lib/claude_agent_sdk/types.rb', line 107 def subtype @subtype end |