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.

25 lines
593 B

  1. //
  2. // NewRegisterService.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 2019/12/02.
  6. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. class NewRegisterService: NewRegisterServiceType {
  10. enum ResendType: String {
  11. case no = "N"
  12. case yes = "Y"
  13. }
  14. func requestPennyTest(
  15. isResendRequest: ResendType,
  16. success: @escaping (SuccessMessage) -> Void,
  17. failure: @escaping (Error) -> Void
  18. ) {
  19. APIRouter.requestPennyTestAtRegister(resend: isResendRequest.rawValue)
  20. .json(success: success, failure: failure)
  21. }
  22. }