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