Method: MCP::Resource::Contents#initialize
- Defined in:
- lib/mcp/resource/contents.rb
#initialize(uri:, mime_type: nil) ⇒ Contents
Returns a new instance of Contents.
8 9 10 11 |
# File 'lib/mcp/resource/contents.rb', line 8 def initialize(uri:, mime_type: nil) @uri = uri @mime_type = mime_type end |