Class: ClaudeAgentSDK::SystemMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

System message with metadata

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subtype:, data:) ⇒ SystemMessage

Returns a new instance of SystemMessage.



110
111
112
113
# File 'lib/claude_agent_sdk/types.rb', line 110

def initialize(subtype:, data:)
  @subtype = subtype
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



108
109
110
# File 'lib/claude_agent_sdk/types.rb', line 108

def data
  @data
end

#subtypeObject

Returns the value of attribute subtype.



108
109
110
# File 'lib/claude_agent_sdk/types.rb', line 108

def subtype
  @subtype
end