File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "Pokepay"
3
- s . version = "2.0.12 "
3
+ s . version = "2.0.13 "
4
4
s . summary = "Pokepay iOS SDK."
5
5
s . description = <<-DESC
6
6
iOS SDK for Pokepay written in Swift.
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >2.0.12 </string >
18
+ <string >2.0.13 </string >
19
19
<key >CFBundleSignature </key >
20
20
<string >???? </string >
21
21
<key >CFBundleVersion </key >
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ public extension BankAPI.User {
20
20
return " /users/ \( id) /banks "
21
21
}
22
22
23
- public var parameters : Any ? {
23
+ public var bodyParameters : BodyParameters ? {
24
24
var dict : [ String : Any ] = [ : ]
25
25
26
26
dict [ " bank_id " ] = bankId
27
27
28
- return dict
28
+ return JSONBodyParameters ( JSONObject : dict)
29
29
}
30
30
}
31
31
}
Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ extension RequestProxy {
22
22
var parameters : Any ? {
23
23
return request. parameters
24
24
}
25
+
26
+ var queryParameters : [ String : Any ] ? {
27
+ return request. queryParameters
28
+ }
29
+
30
+ var bodyParameters : BodyParameters ? {
31
+ return request. bodyParameters
32
+ }
25
33
26
34
var dataParser : DataParser {
27
35
return request. dataParser
You can’t perform that action at this time.
0 commit comments