Class: ModelContextProtocol::Server::StreamableHttpTransport::ErrorResponse
- Inherits:
-
Data
- Object
- Data
- ModelContextProtocol::Server::StreamableHttpTransport::ErrorResponse
- Defined in:
- lib/model_context_protocol/server/streamable_http_transport.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error
13 14 15 |
# File 'lib/model_context_protocol/server/streamable_http_transport.rb', line 13 def error @error end |
#id ⇒ Object (readonly)
Returns the value of attribute id
13 14 15 |
# File 'lib/model_context_protocol/server/streamable_http_transport.rb', line 13 def id @id end |
Instance Method Details
#serialized ⇒ Object
14 15 16 |
# File 'lib/model_context_protocol/server/streamable_http_transport.rb', line 14 def serialized {jsonrpc: "2.0", id:, error:} end |