OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e26208
)
イニシャライザを追加
author
masakih
<masakih@users.sourceforge.jp>
Fri, 20 Oct 2017 14:46:09 +0000
(23:46 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Fri, 20 Oct 2017 14:46:09 +0000
(23:46 +0900)
KCD/APIResponse.swift
patch
|
blob
|
history
diff --git
a/KCD/APIResponse.swift
b/KCD/APIResponse.swift
index
745bd69
..
86f02d1
100644
(file)
--- a/
KCD/APIResponse.swift
+++ b/
KCD/APIResponse.swift
@@
-143,6
+143,14
@@
struct APIResponse {
return false
}
+ init(api: String, parameter: Parameter, json: JSON) {
+
+ self.api = api
+ self.parameter = parameter
+ self.json = json
+ self.date = Date()
+ }
+
init?(request: URLRequest, data: Data) {
date = Date()