paykassa 0.1.26 → 0.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70817ad52cbce9c8725cc4446ede00b8bc1cee64b169d245dff43c31ea99a3ab
4
- data.tar.gz: fce9b1572efc49b5140d0e66a3f9752fb35c2f59484699bb0854c7f57c368ee4
3
+ metadata.gz: 89af5dd510f6483b3c3d5bd90f4640f69bbac425125cada5d49ff77804dc0ced
4
+ data.tar.gz: f57d41fe2b0e2811e828fdbde522abe162d43c9b4e57a963b0c8e9766340ed85
5
5
  SHA512:
6
- metadata.gz: d6a9b964e209088ab947cd55d446faf3c7d358ae62964f1b385f0ce7bebd9d061a817d7ceade9f9136814efaf1c1baab2dd302873b0d8fe4c5abac6a51ef8437
7
- data.tar.gz: 563460732ce7c99bcfb38cd1ea07d5850b36547d2e350b08222455448212e1942d75912f86cf87a8a07b850ea96d1285d8011e5124b8b672284c6a9aab4a161d
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
- paid_commision: paid_commision,
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 = {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paykassa
4
- VERSION = "0.1.26"
4
+ VERSION = "0.1.29"
5
5
  end
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
- paid_commision: paid_commission,
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:)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paykassa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26
4
+ version: 0.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - nottewae