2 // SlotDepriveCommand.swift
5 // Created by Hori,Masaki on 2017/01/09.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 final class SlotDepriveCommand: JSONCommand {
13 override class func canExecuteAPI(_ api: API) -> Bool {
15 return api.endpoint == .slotDeprive
18 override func execute() {
20 ShipMapper(apiResponse).commit()
23 ShipMapper(forSlotDepriveUnset: apiResponse).commit()