Skip to content

Commit 9bcb3bf

Browse files
committed
Remove unused constant
This PR removes an unused constant that is not referenced anywhere and was likely left over during development.
1 parent 18f3e87 commit 9bcb3bf

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

lib/model_context_protocol/methods.rb

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,6 @@ def initialize(method, capability)
3434

3535
extend self
3636

37-
ALL_METHODS = [
38-
SAMPLING_CREATE_MESSAGE,
39-
INITIALIZE,
40-
LOGGING_SET_LEVEL,
41-
PING,
42-
PROMPTS_GET,
43-
PROMPTS_LIST,
44-
COMPLETION_COMPLETE,
45-
RESOURCES_LIST,
46-
RESOURCES_READ,
47-
RESOURCES_TEMPLATES_LIST,
48-
RESOURCES_SUBSCRIBE,
49-
RESOURCES_UNSUBSCRIBE,
50-
TOOLS_CALL,
51-
TOOLS_LIST,
52-
]
53-
5437
def ensure_capability!(method, capabilities)
5538
case method
5639
when PROMPTS_GET, PROMPTS_LIST, COMPLETION_COMPLETE

0 commit comments

Comments
 (0)