Class: MCP::Annotations

Inherits:
Object
  • Object
show all
Defined in:
lib/mcp.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(audience: nil, priority: nil) ⇒ Annotations

Returns a new instance of Annotations.



44
45
46
47
# File 'lib/mcp.rb', line 44

def initialize(audience: nil, priority: nil)
  @audience = audience
  @priority = priority
end

Instance Attribute Details

#audienceObject (readonly)

Returns the value of attribute audience.



42
43
44
# File 'lib/mcp.rb', line 42

def audience
  @audience
end

#priorityObject (readonly)

Returns the value of attribute priority.



42
43
44
# File 'lib/mcp.rb', line 42

def priority
  @priority
end