Class: Mindee::Product::FR::Payslip::PayslipV2Page
- Inherits:
-
Mindee::Parsing::Common::Page
- Object
- Mindee::Parsing::Common::Page
- Mindee::Product::FR::Payslip::PayslipV2Page
- Defined in:
- lib/mindee/product/fr/payslip/payslip_v2_page.rb
Overview
Payslip API version 2.0 page data.
Instance Attribute Summary
Attributes inherited from Mindee::Parsing::Common::Page
#extras, #orientation, #page_id, #prediction
Instance Method Summary collapse
-
#initialize(prediction) ⇒ PayslipV2Page
constructor
A new instance of PayslipV2Page.
Methods inherited from Mindee::Parsing::Common::Page
Constructor Details
#initialize(prediction) ⇒ PayslipV2Page
Returns a new instance of PayslipV2Page.
13 14 15 16 17 18 19 |
# File 'lib/mindee/product/fr/payslip/payslip_v2_page.rb', line 13 def initialize(prediction) super(prediction) @prediction = PayslipV2PagePrediction.new( prediction['prediction'], prediction['id'] ) end |