Class: Legion::LLM::API::RoutingErrorMapper::Response
- Inherits:
-
Data
- Object
- Data
- Legion::LLM::API::RoutingErrorMapper::Response
- Defined in:
- lib/legion/llm/api/routing_error_mapper.rb
Overview
Immutable HTTP response value object (::Data.define; instances are frozen automatically in Ruby 3.2+).
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
30 31 32 |
# File 'lib/legion/llm/api/routing_error_mapper.rb', line 30 def body @body end |
#headers ⇒ Object (readonly)
Returns the value of attribute headers
30 31 32 |
# File 'lib/legion/llm/api/routing_error_mapper.rb', line 30 def headers @headers end |
#status ⇒ Object (readonly)
Returns the value of attribute status
30 31 32 |
# File 'lib/legion/llm/api/routing_error_mapper.rb', line 30 def status @status end |