Class: ZeroMcp::Registry::RouteDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/zeromcp/registry.rb

Instance Attribute Summary collapse

Instance Attribute Details

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



9
10
11
# File 'lib/zeromcp/registry.rb', line 9

def method
  @method
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/zeromcp/registry.rb', line 9

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



9
10
11
# File 'lib/zeromcp/registry.rb', line 9

def path
  @path
end

#toolObject

Returns the value of attribute tool

Returns:

  • (Object)

    the current value of tool



9
10
11
# File 'lib/zeromcp/registry.rb', line 9

def tool
  @tool
end