Class: MCP::Annotations
- Inherits:
-
Object
- Object
- MCP::Annotations
- Defined in:
- lib/mcp.rb
Instance Attribute Summary collapse
-
#audience ⇒ Object
readonly
Returns the value of attribute audience.
-
#priority ⇒ Object
readonly
Returns the value of attribute priority.
Instance Method Summary collapse
-
#initialize(audience: nil, priority: nil) ⇒ Annotations
constructor
A new instance of Annotations.
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
#audience ⇒ Object (readonly)
Returns the value of attribute audience.
42 43 44 |
# File 'lib/mcp.rb', line 42 def audience @audience end |
#priority ⇒ Object (readonly)
Returns the value of attribute priority.
42 43 44 |
# File 'lib/mcp.rb', line 42 def priority @priority end |