// // RechargeHistoryService.swift // GME Remit // // Created by InKwon James Kim on 2019/11/04. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. // import Foundation class RechargeHistoryService: RechargeHistoryServiceType { func fetchHistory( from: String, to: String, success: @escaping ([RechargeHistory]) -> Void, failure: @escaping (Error) -> Void ) { APIRouter.fetchRechargeHistory(from: from, to: to) .json(success: success, failure: failure) } }