lib/leetchi/strong_authentication.rb in leetchi-wallet-services-1.0.0 vs lib/leetchi/strong_authentication.rb in leetchi-wallet-services-1.1.0

- old
+ new

@@ -9,7 +9,20 @@ # - A array of strongAuthentication objects # def self.get get_request(File.join('strongAuthentication')) end + + # Upload your Strong Authentication required files using the Leetchi API + # + # * *Args* : + # - +upload_url+ -> The url to where the StrongAuthentication documents need to be uploaded + # - +file_path+ -> Local path to the file + # * *Returns* : + # - true if the request is done + # - false if the request failed + # + def self.upload(upload_url, file_path) + form_request(upload_url, "StrongValidationDto.Picture", file_path) + end end end