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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47f2cdcdc2333b4c6a65a97c7bd2f2da5fb06480ddefef2f0bca83ee096ec013
4
- data.tar.gz: d0a11b736ee62417e9e506e1ca1ea5dd752916477066389de4aa83839a132317
3
+ metadata.gz: 70817ad52cbce9c8725cc4446ede00b8bc1cee64b169d245dff43c31ea99a3ab
4
+ data.tar.gz: fce9b1572efc49b5140d0e66a3f9752fb35c2f59484699bb0854c7f57c368ee4
5
5
  SHA512:
6
- metadata.gz: f5731572f3652c25125c87b85ecfa18f8df57acfe6dde1a0dbc40e28df9ca953cbc9209000b1c3a1ad767ad1821906b454409d7042cc0db8f957ee655aad1418
7
- data.tar.gz: a28f2d1c3a8cebede63588751399033dcf62ec3f1c7fec0fe1291365229208e4df1a89b4654e0405aae178b4741bb7fe999221b2d2e26ba2bdfcb57d72d3adc9
6
+ metadata.gz: d6a9b964e209088ab947cd55d446faf3c7d358ae62964f1b385f0ce7bebd9d061a817d7ceade9f9136814efaf1c1baab2dd302873b0d8fe4c5abac6a51ef8437
7
+ data.tar.gz: 563460732ce7c99bcfb38cd1ea07d5850b36547d2e350b08222455448212e1942d75912f86cf87a8a07b850ea96d1285d8011e5124b8b672284c6a9aab4a161d
@@ -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],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paykassa
4
- VERSION = "0.1.23"
4
+ VERSION = "0.1.26"
5
5
  end
data/lib/paykassa.rb CHANGED
@@ -28,7 +28,7 @@ module Paykassa
28
28
  shop: shop,
29
29
  currency: currency,
30
30
  system_name: system_name,
31
- paid_commision: paid_commision,
31
+ paid_commision: paid_commission,
32
32
  number: number,
33
33
  tag: tag,
34
34
  priority: priority
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.23
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-17 00:00:00.000000000 Z
11
+ date: 2022-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcarpet