paykassa 0.1.31 → 0.1.32

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: f8757f8aa2ac4210f8f6a7abd17db95c834ae5c7be2513d0c0feee0050d8caf0
4
- data.tar.gz: 9a7fd4889be52cf3796446d76d4b5b5e4675a04da1019a458aeef5408f76ea0b
3
+ metadata.gz: d7290000d94609f5f320f9c0f23a2a6d61db786ebaea587b7dbbb43f6ddc73a6
4
+ data.tar.gz: 7b9a13724c5702023d463bb20b8863b8bdb62625ef5d3e2088b3b6260294c7c9
5
5
  SHA512:
6
- metadata.gz: 7c3e5216169551f0babefe70e1514e13b1f583ecea7b1b56c5e6d96833a217b432db573bf08e8e59d22fe16f1803c58c212ec12f6812e8329e5445bedae71573
7
- data.tar.gz: 74eee7d51e3517420ceea8abc919f38bea137d77d1c4fc79856c3dc2661e886a1138877a8d61715d0f58f0e6c4cbc18197fb496fdea36660f072544866a8b34f
6
+ metadata.gz: a5ec4e91842767ac7baf0a5cf593c7a2faabcbd1bf12ef023deaeece5a75dc890466bf95eae1656f6436e9bf593c28103554b724983b99a03882c30803f03b91
7
+ data.tar.gz: 638cccf2da01dcd42662b997fd3d716d42da186359f19e27298bdbd9ce62b3f6be18b0529e875c1db83485299d122ed2169f4d89597974e2afbab044d046bbab
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paykassa
4
- VERSION = "0.1.31"
4
+ VERSION = "0.1.32"
5
5
  end
data/lib/paykassa.rb CHANGED
@@ -68,8 +68,8 @@ module Paykassa
68
68
  def confirm_order(hash:)
69
69
  result = @paykassa_order.confirm_order(hash)
70
70
  raise StandardError.new(result[:message]) if result[:error]
71
- order_id = res[:data][:order_id]
72
- amount = res[:data][:amount]
71
+ order_id = result[:data][:order_id]
72
+ amount = result[:data][:amount]
73
73
  {order_id: order_id, amount: amount}
74
74
  end
75
75
  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.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - nottewae