paykassa 0.1.24 → 0.1.25

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: be147d822459318dfbdd6809ddc76ceba38ab60af866fa16300b2d3d7f2b586a
4
- data.tar.gz: cb73b4852cd1fd6c8b737e4c8f1414e0328b20eefa4ce3142a4505515739303e
3
+ metadata.gz: 5e05c39e2e8055a34718cacc7e58aa512362601f29049c5a7585e308ad1f277e
4
+ data.tar.gz: 3ed6311fd5e800153801e27b4e324c62304db1dd8cc001b414d38725de46decc
5
5
  SHA512:
6
- metadata.gz: 713f2b123725d374a0640d9dda84bac4c571d4f9a8fb5f31636531e39d1ff8cb6a1dcd154b339ed60e365a668f775f6391eac64590ad69d676b6f6b326df8b12
7
- data.tar.gz: 42cd9fb44ad1fd893d798b4d9be60875323225d5c2790fcdef465e6262a521fd14d9a51a6b268f2bae83453d27f3d9217eabc96d3afce1a1e9893e138ae65604
6
+ metadata.gz: 3f1252bb1932bb0befdc8396e5ece34c617a508da96d70f11f2ab3bfb15d0b4c54a7232cad2a9b84cc4e7ea2a82453a43c80f2f3f32b571b17a7ea036a3491c5
7
+ data.tar.gz: afd6923408f442acfbd3df4cbe49d4843a0549d498e2074248def69d6049db56a140152cfd2887d35db61a65c21690e35a3de509dfa2ae9f932dae83e3cc12cd
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.24"
4
+ VERSION = "0.1.25"
5
5
  end
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.24
4
+ version: 0.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - nottewae