Class: Mindee::Product::InternationalId::InternationalIdV2Page
- Inherits:
-
Mindee::Parsing::Common::Page
- Object
- Mindee::Parsing::Common::Page
- Mindee::Product::InternationalId::InternationalIdV2Page
- Defined in:
- lib/mindee/product/international_id/international_id_v2_page.rb
Overview
International ID API version 2.1 page data.
Instance Attribute Summary
Attributes inherited from Mindee::Parsing::Common::Page
#extras, #orientation, #page_id, #prediction
Instance Method Summary collapse
-
#initialize(prediction) ⇒ InternationalIdV2Page
constructor
A new instance of InternationalIdV2Page.
Methods inherited from Mindee::Parsing::Common::Page
Constructor Details
#initialize(prediction) ⇒ InternationalIdV2Page
Returns a new instance of InternationalIdV2Page.
12 13 14 15 16 17 18 |
# File 'lib/mindee/product/international_id/international_id_v2_page.rb', line 12 def initialize(prediction) super(prediction) @prediction = InternationalIdV2PagePrediction.new( prediction['prediction'], prediction['id'] ) end |