Class: Mindee::Parsing::V2::CommonResponse
- Inherits:
-
Object
- Object
- Mindee::Parsing::V2::CommonResponse
- Defined in:
- lib/mindee/parsing/v2/common_response.rb
Overview
Base class for inference and job responses on the V2 API.
Direct Known Subclasses
Instance Attribute Summary collapse
- #raw_http ⇒ Hash readonly
Instance Method Summary collapse
-
#initialize(http_response) ⇒ CommonResponse
constructor
A new instance of CommonResponse.
Constructor Details
#initialize(http_response) ⇒ CommonResponse
Returns a new instance of CommonResponse.
12 13 14 |
# File 'lib/mindee/parsing/v2/common_response.rb', line 12 def initialize(http_response) @raw_http = http_response end |
Instance Attribute Details
#raw_http ⇒ Hash (readonly)
9 10 11 |
# File 'lib/mindee/parsing/v2/common_response.rb', line 9 def raw_http @raw_http end |