OSDN Git Service

7d96c9bac0daf5ed7a2ace3c338741b8d7c792e1
[kcd/KCD.git] / KCD / ClearItemGetComand.swift
1 //
2 //  ClearItemGetComand.swift
3 //  KCD
4 //
5 //  Created by Hori,Masaki on 2017/01/08.
6 //  Copyright © 2017年 Hori,Masaki. All rights reserved.
7 //
8
9 import Cocoa
10
11 final class ClearItemGetComand: JSONCommand {
12     
13     override class func canExecuteAPI(_ api: String) -> Bool {
14         
15         if api == "/kcsapi/api_req_quest/clearitemget" { return true }
16         
17         return false
18     }
19     
20     override func execute() {
21         
22         UpdateQuestListCommand(apiResponse: apiResponse).execute()
23     }
24 }