Class: Mindee::Product::InvoiceSplitter::InvoiceSplitterV1Page
- Inherits:
-
Mindee::Parsing::Common::Page
- Object
- Mindee::Parsing::Common::Page
- Mindee::Product::InvoiceSplitter::InvoiceSplitterV1Page
- Defined in:
- lib/mindee/product/invoice_splitter/invoice_splitter_v1_page.rb
Overview
Invoice Splitter V1 page.
Instance Attribute Summary
Attributes inherited from Mindee::Parsing::Common::Page
#extras, #orientation, #page_id, #prediction
Instance Method Summary collapse
-
#initialize(prediction) ⇒ InvoiceSplitterV1Page
constructor
A new instance of InvoiceSplitterV1Page.
Methods inherited from Mindee::Parsing::Common::Page
Constructor Details
#initialize(prediction) ⇒ InvoiceSplitterV1Page
Returns a new instance of InvoiceSplitterV1Page.
12 13 14 15 16 17 18 |
# File 'lib/mindee/product/invoice_splitter/invoice_splitter_v1_page.rb', line 12 def initialize(prediction) super(prediction) @prediction = InvoiceSplitterV1PagePrediction.new( prediction['prediction'], prediction['id'] ) end |