paykassa 0.1.23 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paykassa/order.rb +2 -2
- data/lib/paykassa/pay.rb +1 -1
- data/lib/paykassa/version.rb +1 -1
- data/lib/paykassa.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70817ad52cbce9c8725cc4446ede00b8bc1cee64b169d245dff43c31ea99a3ab
|
4
|
+
data.tar.gz: fce9b1572efc49b5140d0e66a3f9752fb35c2f59484699bb0854c7f57c368ee4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a9b964e209088ab947cd55d446faf3c7d358ae62964f1b385f0ce7bebd9d061a817d7ceade9f9136814efaf1c1baab2dd302873b0d8fe4c5abac6a51ef8437
|
7
|
+
data.tar.gz: 563460732ce7c99bcfb38cd1ea07d5850b36547d2e350b08222455448212e1942d75912f86cf87a8a07b850ea96d1285d8011e5124b8b672284c6a9aab4a161d
|
data/lib/paykassa/order.rb
CHANGED
@@ -39,7 +39,7 @@ class PaykassaOrder
|
|
39
39
|
puts "system: #{system}"
|
40
40
|
data = {
|
41
41
|
func: :sci_create_order,
|
42
|
-
amount: amount,
|
42
|
+
amount: amount.to_f,
|
43
43
|
currency: currency,
|
44
44
|
order_id: order_id,
|
45
45
|
phone: "false",
|
@@ -56,7 +56,7 @@ class PaykassaOrder
|
|
56
56
|
puts "system: #{system}"
|
57
57
|
data = {
|
58
58
|
func: :sci_create_order_get_data,
|
59
|
-
amount: amount,
|
59
|
+
amount: amount.to_f,
|
60
60
|
currency: currency,
|
61
61
|
order_id: order_id,
|
62
62
|
phone: "false",
|
data/lib/paykassa/pay.rb
CHANGED
@@ -35,7 +35,7 @@ class PaykassaPay
|
|
35
35
|
end
|
36
36
|
def pay(amount: , shop: , currency: , system_name: , paid_commission: "shop", number:, tag:, priority:)
|
37
37
|
data = {
|
38
|
-
amount: amount,
|
38
|
+
amount: amount.to_f,
|
39
39
|
shop: shop,
|
40
40
|
currency: currency,
|
41
41
|
system: SYSTEM_IDS[system_name],
|
data/lib/paykassa/version.rb
CHANGED
data/lib/paykassa.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paykassa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nottewae
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|