2 // RealPowerUpCommand.swift
5 // Created by Hori,Masaki on 2017/01/09.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 final class RealPowerUpCommand: JSONCommand {
13 override func execute() {
15 let store = ServerDataStore.oneTimeEditor()
17 parameter["api_id_items"]
19 .components(separatedBy: ",")
21 .flatMap { store.ship(by: $0) }
22 .forEach { store.delete($0) }