ruby-sdk/lib/mcp/resource
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO 05c0119e53 Fix Resource::Embedded not setting @resource in initialize
The `initialize` method was missing the assignment of `@resource`,
causing the resource method to always return `nil` and `to_h` to return
an incorrect hash with an empty resource value.

Added comprehensive tests to verify the fix and prevent regression.
2026-01-26 11:37:33 +09:00
..
contents.rb Support Ruby 2.7 - Ruby 3.1 2026-01-06 10:38:56 +09:00
embedded.rb Fix Resource::Embedded not setting @resource in initialize 2026-01-26 11:37:33 +09:00