Class: MockServer::MCP::PromptMessage Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Attribute Details

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



85
86
87
# File 'lib/mockserver/mcp.rb', line 85

def role
  @role
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



85
86
87
# File 'lib/mockserver/mcp.rb', line 85

def text
  @text
end