You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
862 B

  1. //
  2. // BiometricSwitchService.swift
  3. // GME Remit
  4. //
  5. // Created by Swift Tech on 20/10/2021.
  6. //Copyright © 2021 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. class BiometricSwitchService: BiometricSwitchServiceType {
  10. func makeApiRequest(
  11. success: @escaping (String?) -> Void,
  12. failure: @escaping (Error) -> Void
  13. ){
  14. // APIRouter
  15. //// .requestOTP(mobileNumber: mobile)
  16. // .request(
  17. // needsAuthorization: false,
  18. // success: {(response: ResponseMessage) in
  19. // if (response.errorCode ?? "") == "1" {
  20. // let error = NSError(domain: "Network", code: 0, message: response.message ?? "")
  21. // failure(error)
  22. // } else {
  23. // success(response.message ?? "")
  24. // }
  25. // },
  26. // failure: {failure($0)}
  27. // )
  28. }
  29. }