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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 343cf6e58f41bb5f03e492d03727df40bd709e201a9d6155a2e96701379bacd0
|
4
|
+
data.tar.gz: 7b91e8ad24a7dca63053b43b56201eb75729e26573d44ba116d96b77ceeaddc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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
|
data/lib/six_saferpay/version.rb
CHANGED