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