class Mindee::Product::FR::Payslip::PayslipV3
Payslip API version 3 inference prediction.
def initialize(prediction)
-
prediction
(Hash
) --
def initialize(prediction) super @prediction = PayslipV3Document.new(prediction['prediction'], nil) @pages = [] prediction['pages'].each do |page| @pages.push(PayslipV3Page.new(page)) end end