paykassa 0.1.26 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paykassa/pay.rb +2 -2
- data/lib/paykassa/version.rb +1 -1
- data/lib/paykassa.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89af5dd510f6483b3c3d5bd90f4640f69bbac425125cada5d49ff77804dc0ced
|
4
|
+
data.tar.gz: f57d41fe2b0e2811e828fdbde522abe162d43c9b4e57a963b0c8e9766340ed85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 991e201b757d4af00cc08f6b3b89505a567303206b1c9a14d9a8564b5df0b7be5cbf5fdf2f0b127065c8dc1567673c3f509a8ef79a91aa475e17cc387c21fec6
|
7
|
+
data.tar.gz: bcd7644b0366253fddbaa8e61a1ad777dbae6b935ae8d7393243d33efb668e468038b28c258a838ea51774c84777892fafca889f4e93a32b3e02c3a06d947f0a
|
data/lib/paykassa/pay.rb
CHANGED
@@ -39,13 +39,13 @@ class PaykassaPay
|
|
39
39
|
shop: shop,
|
40
40
|
currency: currency,
|
41
41
|
system: SYSTEM_IDS[system_name],
|
42
|
-
|
42
|
+
paid_commission: paid_commission,
|
43
43
|
number: number,
|
44
44
|
tag: tag,
|
45
45
|
priority: priority
|
46
46
|
}
|
47
47
|
@logger.info("Pay.pay with data: #{data.inspect}") unless @logger.nil?
|
48
|
-
make_request("api_payment",data)
|
48
|
+
make_request(func: "api_payment",data: data, merge_auth: true)
|
49
49
|
end
|
50
50
|
def balance(shop: )
|
51
51
|
data = {
|
data/lib/paykassa/version.rb
CHANGED
data/lib/paykassa.rb
CHANGED
@@ -23,16 +23,16 @@ module Paykassa
|
|
23
23
|
|
24
24
|
def pay(amount: , shop: , currency: , system_name: , paid_commission: "shop", number:, tag:, priority:)
|
25
25
|
raise "api_key not present!" if @paykassa_pay.nil?
|
26
|
-
@paykassa_pay.pay(
|
26
|
+
@paykassa_pay.pay(
|
27
27
|
amount: amount,
|
28
28
|
shop: shop,
|
29
29
|
currency: currency,
|
30
30
|
system_name: system_name,
|
31
|
-
|
31
|
+
paid_commission: paid_commission,
|
32
32
|
number: number,
|
33
33
|
tag: tag,
|
34
34
|
priority: priority
|
35
|
-
|
35
|
+
)
|
36
36
|
end
|
37
37
|
|
38
38
|
def balance(shop:)
|