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.

21 lines
513 B

  1. //
  2. // RechargeHistoryService.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 2019/11/04.
  6. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. class RechargeHistoryService: RechargeHistoryServiceType {
  10. func fetchHistory(
  11. from: String,
  12. to: String,
  13. success: @escaping ([RechargeHistory]) -> Void,
  14. failure: @escaping (Error) -> Void
  15. ) {
  16. APIRouter.fetchRechargeHistory(from: from, to: to)
  17. .json(success: success, failure: failure)
  18. }
  19. }