Class: ClaudeAgentSDK::McpClaudeAIProxyServerConfig
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Claude.ai proxy MCP server config Output-only type that appears in status responses for servers proxied through Claude.ai
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ McpClaudeAIProxyServerConfig
constructor
A new instance of McpClaudeAIProxyServerConfig.
- #to_h ⇒ Object
Methods inherited from Type
Constructor Details
#initialize(attributes = {}) ⇒ McpClaudeAIProxyServerConfig
Returns a new instance of McpClaudeAIProxyServerConfig.
1197 1198 1199 1200 |
# File 'lib/claude_agent_sdk/types.rb', line 1197 def initialize(attributes = {}) super @type = 'claudeai-proxy' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
1194 1195 1196 |
# File 'lib/claude_agent_sdk/types.rb', line 1194 def id @id end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
1195 1196 1197 |
# File 'lib/claude_agent_sdk/types.rb', line 1195 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
1194 1195 1196 |
# File 'lib/claude_agent_sdk/types.rb', line 1194 def url @url end |
Instance Method Details
#to_h ⇒ Object
1202 1203 1204 |
# File 'lib/claude_agent_sdk/types.rb', line 1202 def to_h { type: @type, url: @url, id: @id } end |