Verification::Residence allow to use new RemoteCensusAPI
Verification::Residence allow send params :date_of_birth and :postal_code to CensusCaller 'call' method.
This commit is contained in:
@@ -71,7 +71,7 @@ class Verification::Residence
|
||||
private
|
||||
|
||||
def retrieve_census_data
|
||||
@census_data = CensusCaller.new.call(document_type, document_number)
|
||||
@census_data = CensusCaller.new.call(document_type, document_number, date_of_birth, postal_code)
|
||||
end
|
||||
|
||||
def residency_valid?
|
||||
|
||||
Reference in New Issue
Block a user