shouqianba-webapi-ruby 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shouqianba/webapi.rb +3 -3
- data/lib/shouqianba/webapi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47b82d5149cad76c55f377306dee3866f960a539
|
4
|
+
data.tar.gz: c698fc7fa4d8f4a2a8e6166931d47acda1b70167
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74a1e3e842f77544b3621b86bd8f8bdcac4dae557e79312681e088b4c21f160c9919467634d9f292c1f034e24320ce0fccabdf78b4109d76847100c53327e0b5
|
7
|
+
data.tar.gz: 42ce8f21d08f54c774467a2f58cfcb45e053ddacfcf75eb80eb51e6ed104bb4ad179f285183db21d5e330377f1859c4d2f35571cb6617c9e749641ff9cba006a
|
data/lib/shouqianba/webapi.rb
CHANGED
@@ -50,7 +50,7 @@ module Shouqianba
|
|
50
50
|
params = {
|
51
51
|
terminal_sn: terminal_sn,
|
52
52
|
client_sn: client_sn,
|
53
|
-
total_amount: total_amount,
|
53
|
+
total_amount: "#{total_amount}",
|
54
54
|
dynamic_id: dynamic_id,
|
55
55
|
subject: subject,
|
56
56
|
operator: operator,
|
@@ -74,7 +74,7 @@ module Shouqianba
|
|
74
74
|
params = {
|
75
75
|
terminal_sn: terminal_sn,
|
76
76
|
client_sn: client_sn,
|
77
|
-
total_amount: total_amount,
|
77
|
+
total_amount: "#{total_amount}",
|
78
78
|
payway: payway,
|
79
79
|
subject: subject,
|
80
80
|
operator: operator
|
@@ -98,7 +98,7 @@ module Shouqianba
|
|
98
98
|
terminal_sn: terminal_sn,
|
99
99
|
refund_request_no: refund_request_no,
|
100
100
|
operator: operator,
|
101
|
-
refund_amount: refund_amount
|
101
|
+
refund_amount: "#{refund_amount}"
|
102
102
|
}.merge({
|
103
103
|
sn: options[:sn],
|
104
104
|
client_sn: options[:client_sn],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shouqianba-webapi-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wanxsb@gmail.com
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|