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
25 lines
593 B
//
|
|
// NewRegisterService.swift
|
|
// GME Remit
|
|
//
|
|
// Created by InKwon James Kim on 2019/12/02.
|
|
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class NewRegisterService: NewRegisterServiceType {
|
|
enum ResendType: String {
|
|
case no = "N"
|
|
case yes = "Y"
|
|
}
|
|
|
|
func requestPennyTest(
|
|
isResendRequest: ResendType,
|
|
success: @escaping (SuccessMessage) -> Void,
|
|
failure: @escaping (Error) -> Void
|
|
) {
|
|
APIRouter.requestPennyTestAtRegister(resend: isResendRequest.rawValue)
|
|
.json(success: success, failure: failure)
|
|
}
|
|
}
|