Class: Mindee::Product::FR::BankStatement::BankStatementV1Page

Inherits:
Mindee::Parsing::Common::Page show all
Defined in:
lib/mindee/product/fr/bank_statement/bank_statement_v1_page.rb

Overview

Bank Statement (FR) V1 page.

Instance Attribute Summary

Attributes inherited from Mindee::Parsing::Common::Page

#extras, #orientation, #page_id, #prediction

Instance Method Summary collapse

Methods inherited from Mindee::Parsing::Common::Page

#to_s

Constructor Details

#initialize(prediction) ⇒ BankStatementV1Page

Returns a new instance of BankStatementV1Page.

Parameters:

  • prediction (Hash)


13
14
15
16
17
18
19
# File 'lib/mindee/product/fr/bank_statement/bank_statement_v1_page.rb', line 13

def initialize(prediction)
  super(prediction)
  @prediction = BankStatementV1PagePrediction.new(
    prediction['prediction'],
    prediction['id']
  )
end