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:
commit
248c1ec532
1 changed files with 108 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ module MCP
|
|||
attr_reader :resource, :annotations
|
||||
|
||||
def initialize(resource:, annotations: nil)
|
||||
@resource = resource
|
||||
@annotations = annotations
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue