lib/onfido/models/document_properties.rb in onfido-4.0.0 vs lib/onfido/models/document_properties.rb in onfido-4.1.0

- old
+ new

@@ -224,11 +224,11 @@ :'nist_identity_evidence_strength' => :'String', :'has_issuance_confirmation' => :'String', :'real_id_compliance' => :'Boolean', :'security_tier' => :'String', :'address_lines' => :'DocumentPropertiesAddressLines', - :'barcode' => :'Array<DocumentPropertiesBarcodeInner>', + :'barcode' => :'DocumentPropertiesBarcode', :'nfc' => :'DocumentPropertiesNfc', :'driving_licence_information' => :'DocumentPropertiesDrivingLicenceInformation', :'document_classification' => :'DocumentPropertiesDocumentClassification', :'extracted_data' => :'DocumentPropertiesExtractedData' } @@ -416,12 +416,10 @@ if attributes.key?(:'address_lines') self.address_lines = attributes[:'address_lines'] end if attributes.key?(:'barcode') - if (value = attributes[:'barcode']).is_a?(Array) - self.barcode = value - end + self.barcode = attributes[:'barcode'] end if attributes.key?(:'nfc') self.nfc = attributes[:'nfc'] end