Merge pull request #220 from koic/fix_resource_embedded_not_setting_resource_in_initialize

Fix `Resource::Embedded` not setting `@resource` in `initialize`
This commit is contained in:
Koichi ITO 2026-02-04 10:58:49 +09:00 • committed by GitHub
commit 248c1ec532
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@ module MCP
attr_reader :resource, :annotations
def initialize(resource:, annotations: nil)
@resource = resource
@annotations = annotations
end