Class: Mindee::V1::Product::Passport::PassportV1PagePrediction
- Inherits:
-
PassportV1Document
- Object
- Mindee::V1::Parsing::Common::Prediction
- PassportV1Document
- Mindee::V1::Product::Passport::PassportV1PagePrediction
- 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
-
#initialize ⇒ PassportV1PagePrediction
constructor
A new instance of PassportV1PagePrediction.
- #to_s ⇒ String
Constructor Details
#initialize ⇒ PassportV1PagePrediction
Returns a new instance of PassportV1PagePrediction.
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_s ⇒ 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 |