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.



74
75
76
77
# File 'lib/claude_agent_sdk/types.rb', line 74

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

Instance Attribute Details

#dataObject

Returns the value of attribute data.



72
73
74
# File 'lib/claude_agent_sdk/types.rb', line 72

def data
  @data
end

#subtypeObject

Returns the value of attribute subtype.



72
73
74
# File 'lib/claude_agent_sdk/types.rb', line 72

def subtype
  @subtype
end