Class: SmartAgent::MCPContext
- Inherits:
-
Object
- Object
- SmartAgent::MCPContext
- Defined in:
- lib/smart_agent/mcp_client.rb
Instance Method Summary collapse
- #command(path) ⇒ Object
- #command_path ⇒ Object
- #mcp_type ⇒ Object
- #type(mcp_type) ⇒ Object
- #url(url) ⇒ Object
Instance Method Details
#command(path) ⇒ Object
83 84 85 |
# File 'lib/smart_agent/mcp_client.rb', line 83 def command(path) @command_path = path end |
#command_path ⇒ Object
79 80 81 |
# File 'lib/smart_agent/mcp_client.rb', line 79 def command_path @command_path end |
#mcp_type ⇒ Object
75 76 77 |
# File 'lib/smart_agent/mcp_client.rb', line 75 def mcp_type @mcp_type end |
#type(mcp_type) ⇒ Object
71 72 73 |
# File 'lib/smart_agent/mcp_client.rb', line 71 def type(mcp_type) @mcp_type = mcp_type end |
#url(url) ⇒ Object
87 88 89 |
# File 'lib/smart_agent/mcp_client.rb', line 87 def url(url) @command_path = url end |