unitpay 0.0.3 → 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/unitpay/service.rb +1 -8
- data/lib/unitpay/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acfaaf225e410fc5732ed5d3385fd98adcf506ed
|
4
|
+
data.tar.gz: 16755b706b4e6e6401d83d48dca515c5ee6901b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd50c6d01f2670b9a5883eb8dff649c5f2e404a7b7a980d5a62a65f4f4720217ec30504b2581966c916a0112eba75ecdcb518b66fcd933f096849acf68622415
|
7
|
+
data.tar.gz: 59973bf3b76a38f870726714a766a546eb00cd7a38cd715ac18faf7615799f7bfca2c6f5816709599efccb69eb6377558752327365ce3040ca4f2722f4c429c0
|
data/lib/unitpay/service.rb
CHANGED
@@ -16,14 +16,7 @@ module Unitpay
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def params_for_widget(sum, account, desc)
|
19
|
-
|
20
|
-
publicKey: public_key,
|
21
|
-
sum: sum,
|
22
|
-
account: account,
|
23
|
-
desc: desc,
|
24
|
-
currency: 'RUB',
|
25
|
-
sign: calculate_sign(sum, account, desc)
|
26
|
-
}
|
19
|
+
main_params(sum, account, desc).merge(publicKey: public_key)
|
27
20
|
end
|
28
21
|
|
29
22
|
def valid_sign?(current_sign, sum, account, desc)
|
data/lib/unitpay/version.rb
CHANGED