six_saferpay 0.1.8 → 0.1.9

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: 70c4ae41d296ce6f288372b26ca6cf3e4018195b719bd1fc9bc286d12f2c7c52
4
- data.tar.gz: 1bf466e8e40809e5d26ee9aa19fe4d2196de5806649de618757823f8c8f26594
3
+ metadata.gz: 343cf6e58f41bb5f03e492d03727df40bd709e201a9d6155a2e96701379bacd0
4
+ data.tar.gz: 7b91e8ad24a7dca63053b43b56201eb75729e26573d44ba116d96b77ceeaddc4
5
5
  SHA512:
6
- metadata.gz: cf12cc2312ceb6b79e583b05fbd9adab62b3025dbc7aa55dbfffa982d955927af1b04a9e2893a6c42d4e7f9b7d805521b39784fd0574ac03adcfb2882204161b
7
- data.tar.gz: 6db7eb3b44cd61552164e3123edb45f40e8cbac3e060d353f235895138984e2ab7b6066a1e74f535ce2bad55ede0798a2d705d592bd4a7f9f9031776cf34129e
6
+ metadata.gz: 2368c62765a52810438b9e7e0c0d35bb957b4b84c3bda8cabd96943e1eb7ef3b47c7182c2a85a67ef33842e6ecc8419551ce7225512d1f84791a28badb91a1ce
7
+ data.tar.gz: c106033464da5a27e9b371fabfe354f0b32cc4a9a5f28d2b1152485ed765a0da49950ca6b903e44df577f3b609365439be071690b2832aa0fcd83631b999b0de
@@ -8,7 +8,11 @@ module SixSaferpay
8
8
  :date,
9
9
  :invoice
10
10
  )
11
- def initialize(hash)
11
+ def initialize(response_header: ,
12
+ capture_id: nil,
13
+ status: ,
14
+ date: ,
15
+ invoice: )
12
16
  @response_header = SixSaferpay::ResponseHeader.new(response_header) if response_header
13
17
  @capture_id = capture_id
14
18
  @status = status
@@ -4,7 +4,7 @@ module SixSaferpay
4
4
  attr_accessor(:payee, :reason_for_transfer, :due_date)
5
5
 
6
6
  def initialize(payee: nil, reason_for_transfer: nil, due_date: nil)
7
- @payee = payee
7
+ @payee = SixSaferpay::Payee.new(payee.to_h) if payee
8
8
  @reason_for_transfer = reason_for_transfer
9
9
  @due_date = due_date
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module SixSaferpay
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six_saferpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Langenegger