Skip to content

Commit f3ea5dc

Browse files
♻️ update products to newer syntax
1 parent c73a5cd commit f3ea5dc

File tree

57 files changed

+57
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+57
-57
lines changed

lib/mindee/product/barcode_reader/barcode_reader_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Mindee
88
module Product
99
# Barcode Reader module.
1010
module BarcodeReader
11-
# Barcode Reader V1 prediction inference.
11+
# Barcode Reader API version 1 inference prediction.
1212
class BarcodeReaderV1 < Mindee::Parsing::Common::Inference
1313
@endpoint_name = 'barcode_reader'
1414
@endpoint_version = '1'

lib/mindee/product/barcode_reader/barcode_reader_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module Mindee
66
module Product
77
module BarcodeReader
8-
# Barcode Reader V1 document prediction.
8+
# Barcode Reader API version 1.0 document data.
99
class BarcodeReaderV1Document < Mindee::Parsing::Common::Prediction
1010
include Mindee::Parsing::Standard
1111
# List of decoded 1D barcodes.

lib/mindee/product/barcode_reader/barcode_reader_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module Mindee
77
module Product
88
module BarcodeReader
9-
# Barcode Reader V1 page.
9+
# Barcode Reader API version 1.0 page data.
1010
class BarcodeReaderV1Page < Mindee::Parsing::Common::Page
1111
# @param prediction [Hash]
1212
def initialize(prediction)

lib/mindee/product/cropper/cropper_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Mindee
88
module Product
99
# Cropper module.
1010
module Cropper
11-
# Cropper V1 prediction inference.
11+
# Cropper API version 1 inference prediction.
1212
class CropperV1 < Mindee::Parsing::Common::Inference
1313
@endpoint_name = 'cropper'
1414
@endpoint_version = '1'

lib/mindee/product/cropper/cropper_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module Mindee
66
module Product
77
module Cropper
8-
# Cropper V1 document prediction.
8+
# Cropper API version 1.1 document data.
99
class CropperV1Document < Mindee::Parsing::Common::Prediction
1010
end
1111
end

lib/mindee/product/cropper/cropper_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module Mindee
77
module Product
88
module Cropper
9-
# Cropper V1 page.
9+
# Cropper API version 1.1 page data.
1010
class CropperV1Page < Mindee::Parsing::Common::Page
1111
# @param prediction [Hash]
1212
def initialize(prediction)

lib/mindee/product/eu/driver_license/driver_license_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Product
99
module EU
1010
# Driver License module.
1111
module DriverLicense
12-
# Driver License V1 prediction inference.
12+
# Driver License API version 1 inference prediction.
1313
class DriverLicenseV1 < Mindee::Parsing::Common::Inference
1414
@endpoint_name = 'eu_driver_license'
1515
@endpoint_version = '1'

lib/mindee/product/eu/driver_license/driver_license_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Mindee
66
module Product
77
module EU
88
module DriverLicense
9-
# Driver License V1 document prediction.
9+
# Driver License API version 1.0 document data.
1010
class DriverLicenseV1Document < Mindee::Parsing::Common::Prediction
1111
include Mindee::Parsing::Standard
1212
# EU driver license holders address

lib/mindee/product/eu/driver_license/driver_license_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module EU
99
module DriverLicense
10-
# Driver License V1 page.
10+
# Driver License API version 1.0 page data.
1111
class DriverLicenseV1Page < Mindee::Parsing::Common::Page
1212
# @param prediction [Hash]
1313
def initialize(prediction)

lib/mindee/product/eu/license_plate/license_plate_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Product
99
module EU
1010
# License Plate module.
1111
module LicensePlate
12-
# License Plate V1 prediction inference.
12+
# License Plate API version 1 inference prediction.
1313
class LicensePlateV1 < Mindee::Parsing::Common::Inference
1414
@endpoint_name = 'license_plates'
1515
@endpoint_version = '1'

lib/mindee/product/eu/license_plate/license_plate_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Mindee
66
module Product
77
module EU
88
module LicensePlate
9-
# License Plate V1 document prediction.
9+
# License Plate API version 1.1 document data.
1010
class LicensePlateV1Document < Mindee::Parsing::Common::Prediction
1111
include Mindee::Parsing::Standard
1212
# List of all license plates found in the image.

lib/mindee/product/eu/license_plate/license_plate_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module EU
99
module LicensePlate
10-
# License Plate V1 page.
10+
# License Plate API version 1.1 page data.
1111
class LicensePlateV1Page < Mindee::Parsing::Common::Page
1212
# @param prediction [Hash]
1313
def initialize(prediction)

lib/mindee/product/fr/bank_account_details/bank_account_details_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Product
99
module FR
1010
# Bank Account Details module.
1111
module BankAccountDetails
12-
# Bank Account Details V1 prediction inference.
12+
# Bank Account Details API version 1 inference prediction.
1313
class BankAccountDetailsV1 < Mindee::Parsing::Common::Inference
1414
@endpoint_name = 'bank_account_details'
1515
@endpoint_version = '1'

lib/mindee/product/fr/bank_account_details/bank_account_details_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Mindee
66
module Product
77
module FR
88
module BankAccountDetails
9-
# Bank Account Details V1 document prediction.
9+
# Bank Account Details API version 1.0 document data.
1010
class BankAccountDetailsV1Document < Mindee::Parsing::Common::Prediction
1111
include Mindee::Parsing::Standard
1212
# The name of the account holder as seen on the document.

lib/mindee/product/fr/bank_account_details/bank_account_details_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module FR
99
module BankAccountDetails
10-
# Bank Account Details V1 page.
10+
# Bank Account Details API version 1.0 page data.
1111
class BankAccountDetailsV1Page < Mindee::Parsing::Common::Page
1212
# @param prediction [Hash]
1313
def initialize(prediction)

lib/mindee/product/fr/bank_account_details/bank_account_details_v2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Product
99
module FR
1010
# Bank Account Details module.
1111
module BankAccountDetails
12-
# Bank Account Details V2 prediction inference.
12+
# Bank Account Details API version 2 inference prediction.
1313
class BankAccountDetailsV2 < Mindee::Parsing::Common::Inference
1414
@endpoint_name = 'bank_account_details'
1515
@endpoint_version = '2'

lib/mindee/product/fr/bank_account_details/bank_account_details_v2_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module FR
99
module BankAccountDetails
10-
# Bank Account Details V2 document prediction.
10+
# Bank Account Details API version 2.0 document data.
1111
class BankAccountDetailsV2Document < Mindee::Parsing::Common::Prediction
1212
include Mindee::Parsing::Standard
1313
# Full extraction of the account holders names.

lib/mindee/product/fr/bank_account_details/bank_account_details_v2_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module FR
99
module BankAccountDetails
10-
# Bank Account Details V2 page.
10+
# Bank Account Details API version 2.0 page data.
1111
class BankAccountDetailsV2Page < Mindee::Parsing::Common::Page
1212
# @param prediction [Hash]
1313
def initialize(prediction)

lib/mindee/product/fr/carte_grise/carte_grise_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Product
99
module FR
1010
# Carte Grise module.
1111
module CarteGrise
12-
# Carte Grise V1 prediction inference.
12+
# Carte Grise API version 1 inference prediction.
1313
class CarteGriseV1 < Mindee::Parsing::Common::Inference
1414
@endpoint_name = 'carte_grise'
1515
@endpoint_version = '1'

lib/mindee/product/fr/carte_grise/carte_grise_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Mindee
66
module Product
77
module FR
88
module CarteGrise
9-
# Carte Grise V1 document prediction.
9+
# Carte Grise API version 1.1 document data.
1010
class CarteGriseV1Document < Mindee::Parsing::Common::Prediction
1111
include Mindee::Parsing::Standard
1212
# The vehicle's license plate number.

lib/mindee/product/fr/carte_grise/carte_grise_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module FR
99
module CarteGrise
10-
# Carte Grise V1 page.
10+
# Carte Grise API version 1.1 page data.
1111
class CarteGriseV1Page < Mindee::Parsing::Common::Page
1212
# @param prediction [Hash]
1313
def initialize(prediction)

lib/mindee/product/fr/carte_vitale/carte_vitale_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Product
99
module FR
1010
# Carte Vitale module.
1111
module CarteVitale
12-
# Carte Vitale V1 prediction inference.
12+
# Carte Vitale API version 1 inference prediction.
1313
class CarteVitaleV1 < Mindee::Parsing::Common::Inference
1414
@endpoint_name = 'carte_vitale'
1515
@endpoint_version = '1'

lib/mindee/product/fr/carte_vitale/carte_vitale_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Mindee
66
module Product
77
module FR
88
module CarteVitale
9-
# Carte Vitale V1 document prediction.
9+
# Carte Vitale API version 1.1 document data.
1010
class CarteVitaleV1Document < Mindee::Parsing::Common::Prediction
1111
include Mindee::Parsing::Standard
1212
# The given name(s) of the card holder.

lib/mindee/product/fr/carte_vitale/carte_vitale_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module FR
99
module CarteVitale
10-
# Carte Vitale V1 page.
10+
# Carte Vitale API version 1.1 page data.
1111
class CarteVitaleV1Page < Mindee::Parsing::Common::Page
1212
# @param prediction [Hash]
1313
def initialize(prediction)

lib/mindee/product/fr/id_card/id_card_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Product
99
module FR
1010
# Carte Nationale d'Identité module.
1111
module IdCard
12-
# Carte Nationale d'Identité V1 prediction inference.
12+
# Carte Nationale d'Identité API version 1 inference prediction.
1313
class IdCardV1 < Mindee::Parsing::Common::Inference
1414
@endpoint_name = 'idcard_fr'
1515
@endpoint_version = '1'

lib/mindee/product/fr/id_card/id_card_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Mindee
66
module Product
77
module FR
88
module IdCard
9-
# Carte Nationale d'Identité V1 document prediction.
9+
# Carte Nationale d'Identité API version 1.1 document data.
1010
class IdCardV1Document < Mindee::Parsing::Common::Prediction
1111
include Mindee::Parsing::Standard
1212
# The name of the issuing authority.

lib/mindee/product/fr/id_card/id_card_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module FR
99
module IdCard
10-
# Carte Nationale d'Identité V1 page.
10+
# Carte Nationale d'Identité API version 1.1 page data.
1111
class IdCardV1Page < Mindee::Parsing::Common::Page
1212
# @param prediction [Hash]
1313
def initialize(prediction)

lib/mindee/product/fr/id_card/id_card_v2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Product
99
module FR
1010
# Carte Nationale d'Identité module.
1111
module IdCard
12-
# Carte Nationale d'Identité V2 prediction inference.
12+
# Carte Nationale d'Identité API version 2 inference prediction.
1313
class IdCardV2 < Mindee::Parsing::Common::Inference
1414
@endpoint_name = 'idcard_fr'
1515
@endpoint_version = '2'

lib/mindee/product/fr/id_card/id_card_v2_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Mindee
66
module Product
77
module FR
88
module IdCard
9-
# Carte Nationale d'Identité V2 document prediction.
9+
# Carte Nationale d'Identité API version 2.0 document data.
1010
class IdCardV2Document < Mindee::Parsing::Common::Prediction
1111
include Mindee::Parsing::Standard
1212
# The alternate name of the card holder.

lib/mindee/product/fr/id_card/id_card_v2_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Mindee
77
module Product
88
module FR
99
module IdCard
10-
# Carte Nationale d'Identité V2 page.
10+
# Carte Nationale d'Identité API version 2.0 page data.
1111
class IdCardV2Page < Mindee::Parsing::Common::Page
1212
# @param prediction [Hash]
1313
def initialize(prediction)

lib/mindee/product/international_id/international_id_v2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Mindee
88
module Product
99
# International ID module.
1010
module InternationalId
11-
# International ID V2 prediction inference.
11+
# International ID API version 2 inference prediction.
1212
class InternationalIdV2 < Mindee::Parsing::Common::Inference
1313
@endpoint_name = 'international_id'
1414
@endpoint_version = '2'

lib/mindee/product/international_id/international_id_v2_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module Mindee
66
module Product
77
module InternationalId
8-
# International ID V2 document prediction.
8+
# International ID API version 2.0 document data.
99
class InternationalIdV2Document < Mindee::Parsing::Common::Prediction
1010
include Mindee::Parsing::Standard
1111
# The physical address of the document holder.

lib/mindee/product/international_id/international_id_v2_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module Mindee
77
module Product
88
module InternationalId
9-
# International ID V2 page.
9+
# International ID API version 2.0 page data.
1010
class InternationalIdV2Page < Mindee::Parsing::Common::Page
1111
# @param prediction [Hash]
1212
def initialize(prediction)

lib/mindee/product/multi_receipts_detector/multi_receipts_detector_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Mindee
88
module Product
99
# Multi Receipts Detector module.
1010
module MultiReceiptsDetector
11-
# Multi Receipts Detector V1 prediction inference.
11+
# Multi Receipts Detector API version 1 inference prediction.
1212
class MultiReceiptsDetectorV1 < Mindee::Parsing::Common::Inference
1313
@endpoint_name = 'multi_receipts_detector'
1414
@endpoint_version = '1'

lib/mindee/product/multi_receipts_detector/multi_receipts_detector_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module Mindee
66
module Product
77
module MultiReceiptsDetector
8-
# Multi Receipts Detector V1 document prediction.
8+
# Multi Receipts Detector API version 1.0 document data.
99
class MultiReceiptsDetectorV1Document < Mindee::Parsing::Common::Prediction
1010
include Mindee::Parsing::Standard
1111
# Positions of the receipts on the document.

lib/mindee/product/multi_receipts_detector/multi_receipts_detector_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module Mindee
77
module Product
88
module MultiReceiptsDetector
9-
# Multi Receipts Detector V1 page.
9+
# Multi Receipts Detector API version 1.0 page data.
1010
class MultiReceiptsDetectorV1Page < Mindee::Parsing::Common::Page
1111
# @param prediction [Hash]
1212
def initialize(prediction)

lib/mindee/product/passport/passport_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Mindee
88
module Product
99
# Passport module.
1010
module Passport
11-
# Passport V1 prediction inference.
11+
# Passport API version 1 inference prediction.
1212
class PassportV1 < Mindee::Parsing::Common::Inference
1313
@endpoint_name = 'passport'
1414
@endpoint_version = '1'

lib/mindee/product/passport/passport_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module Mindee
66
module Product
77
module Passport
8-
# Passport V1 document prediction.
8+
# Passport API version 1.1 document data.
99
class PassportV1Document < Mindee::Parsing::Common::Prediction
1010
include Mindee::Parsing::Standard
1111
# The date of birth of the passport holder.

lib/mindee/product/passport/passport_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module Mindee
77
module Product
88
module Passport
9-
# Passport V1 page.
9+
# Passport API version 1.1 page data.
1010
class PassportV1Page < Mindee::Parsing::Common::Page
1111
# @param prediction [Hash]
1212
def initialize(prediction)

lib/mindee/product/proof_of_address/proof_of_address_v1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Mindee
88
module Product
99
# Proof of Address module.
1010
module ProofOfAddress
11-
# Proof of Address V1 prediction inference.
11+
# Proof of Address API version 1 inference prediction.
1212
class ProofOfAddressV1 < Mindee::Parsing::Common::Inference
1313
@endpoint_name = 'proof_of_address'
1414
@endpoint_version = '1'

lib/mindee/product/proof_of_address/proof_of_address_v1_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module Mindee
66
module Product
77
module ProofOfAddress
8-
# Proof of Address V1 document prediction.
8+
# Proof of Address API version 1.1 document data.
99
class ProofOfAddressV1Document < Mindee::Parsing::Common::Prediction
1010
include Mindee::Parsing::Standard
1111
# The date the document was issued.

lib/mindee/product/proof_of_address/proof_of_address_v1_page.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module Mindee
77
module Product
88
module ProofOfAddress
9-
# Proof of Address V1 page.
9+
# Proof of Address API version 1.1 page data.
1010
class ProofOfAddressV1Page < Mindee::Parsing::Common::Page
1111
# @param prediction [Hash]
1212
def initialize(prediction)

lib/mindee/product/receipt/receipt_v5.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Mindee
88
module Product
99
# Receipt module.
1010
module Receipt
11-
# Receipt V5 prediction inference.
11+
# Receipt API version 5 inference prediction.
1212
class ReceiptV5 < Mindee::Parsing::Common::Inference
1313
@endpoint_name = 'expense_receipts'
1414
@endpoint_version = '5'

lib/mindee/product/receipt/receipt_v5_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module Mindee
77
module Product
88
module Receipt
9-
# Receipt V5 document prediction.
9+
# Receipt API version 5.1 document data.
1010
class ReceiptV5Document < Mindee::Parsing::Common::Prediction
1111
include Mindee::Parsing::Standard
1212
# The purchase category among predefined classes.

0 commit comments

Comments
 (0)