Class: ModelContextProtocol::Annotations

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Annotations.



37
38
39
40
# File 'lib/model_context_protocol.rb', line 37

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

Instance Attribute Details

#audienceObject (readonly)

Returns the value of attribute audience.



35
36
37
# File 'lib/model_context_protocol.rb', line 35

def audience
  @audience
end

#priorityObject (readonly)

Returns the value of attribute priority.



35
36
37
# File 'lib/model_context_protocol.rb', line 35

def priority
  @priority
end