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.

19 lines
490 B

  1. //
  2. // DetailNotificationService.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 2020/02/11.
  6. //Copyright © 2020 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. class DetailNotificationService: DetailNotificationServiceType {
  10. func fetchDetail(
  11. index: String,
  12. success: @escaping (DetailNoticeModel) -> Void,
  13. failure: @escaping (Error) -> Void
  14. ) {
  15. APIRouter.getNotifyDetailInfo(idx: index).json(success: success, failure: failure)
  16. }
  17. }