just redo all of it from scratch

This commit is contained in:
Joey Cardosi 2025-05-30 12:15:11 -04:00
commit d80b13736e
No known key found for this signature in database
GPG key ID: 5F93AEDDAAE66774

View file

@ -1,24 +0,0 @@
# typed: strict
# frozen_string_literal: true
module MCP
class ResourceTemplate
attr_reader :uri_template, :name, :description, :mime_type
def initialize(uri_template:, name:, description: nil, mime_type: nil)
@uri_template = uri_template
@name = name
@description = description
@mime_type = mime_type
end
def to_h
{
uriTemplate: @uri_template,
name: @name,
description: @description,
mimeType: @mime_type,
}.compact
end
end
end