Class: Mindee::V1::Product::Passport::PassportV1PagePrediction

Inherits:
PassportV1Document show all
Defined in:
lib/mindee/v1/product/passport/passport_v1_page.rb,
sig/mindee/v1/product/passport/passport_v1_page.rbs

Overview

Passport V1 page prediction.

Instance Attribute Summary

Attributes inherited from PassportV1Document

#birth_date, #birth_place, #country, #expiry_date, #gender, #given_names, #id_number, #issuance_date, #mrz1, #mrz2, #surname

Instance Method Summary collapse

Constructor Details

#initializePassportV1PagePrediction

Returns a new instance of PassportV1PagePrediction.

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Integer, nil)


11
# File 'sig/mindee/v1/product/passport/passport_v1_page.rbs', line 11

def initialize: (Hash[String | Symbol, untyped], Integer?) -> void

Instance Method Details

#to_sString

Returns:

  • (String)


29
30
31
32
33
# File 'lib/mindee/v1/product/passport/passport_v1_page.rb', line 29

def to_s
  out_str = String.new
  out_str << "\n#{super}"
  out_str
end