fat_zebra 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fat_zebra/models/purchase.rb +3 -1
- data/lib/fat_zebra/models/refund.rb +2 -1
- data/lib/fat_zebra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWI2ZTY5ZGU2ZDYzODgzMDA0YzcwMGRhZGRjNjhmYTEyN2ZjN2YzNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTUwZjJkMGFmOWE5ZjE2NGMyODlmYWYwYzIxNGUzOTNlZjFlOTBkMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGYxZGVlMWMzOTU2NTllZmQ3ODFlNDdhYjIyOGJjOTFmNzg3YTkzZjY1MDhj
|
10
|
+
YWFjMDQxZWFhMjkzMTM2YWNhNmE2NGZiNjMzMmJmODY0YmZkY2MzYTNmZWE2
|
11
|
+
ZWEyOGQ5OWJjNzliNTlkN2FiNWI3Yzc4ZDAzNGFhNzlmMDYxOWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2Q0MzUyZTAzZTFjODVhNGMyZjI5ZWY3MzJmMWZhZGM3MTM1YTZlZmJkMDBl
|
14
|
+
M2RiNTg2ZDgyZWZjNzBhNWZkMGYwZDliNmU2MjQ5ZDVlZTM0ZDA4OWVhNjE2
|
15
|
+
ZjJkYjBmNzhkYzVlY2UzOTcwMDBiYzJlOGQ3OWJkNDc2ZWNmMTY=
|
@@ -3,7 +3,7 @@ module FatZebra
|
|
3
3
|
class Purchase < Base
|
4
4
|
attribute :id, :amount, :reference, :message, :authorization, :transaction_id, :card_number,
|
5
5
|
:card_holder, :card_expiry, :authorized, :successful, :card_token, :currency, :raw, :captured, :captured_amount,
|
6
|
-
:response_code, :rrn, :cvv_match, :fraud_result, :fraud_messages, :metadata
|
6
|
+
:response_code, :rrn, :cvv_match, :fraud_result, :fraud_messages, :settlement_date, :transaction_date, :metadata
|
7
7
|
|
8
8
|
# Refunds the current transaction
|
9
9
|
#
|
@@ -63,6 +63,8 @@ module FatZebra
|
|
63
63
|
rrn: self.rrn,
|
64
64
|
fraud_result: self.fraud_result,
|
65
65
|
fraud_messages: self.fraud_messages,
|
66
|
+
settlement_date: self.settlement_date,
|
67
|
+
transaction_date: self.transaction_date,
|
66
68
|
metadata: self.metadata || {}
|
67
69
|
}
|
68
70
|
end
|
@@ -1,7 +1,8 @@
|
|
1
1
|
module FatZebra
|
2
2
|
module Models
|
3
3
|
class Refund < Base
|
4
|
-
attribute :amount, :reference, :refunded, :id, :message, :transaction_id, :original_transaction_id, :
|
4
|
+
attribute :amount, :reference, :refunded, :id, :message, :transaction_id, :original_transaction_id, :transaction_date, :settlement_date,
|
5
|
+
:response_code, :message, :rrn, :authorisation, :raw
|
5
6
|
|
6
7
|
# Returns the original transaction for this refund
|
7
8
|
#
|
data/lib/fat_zebra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fat_zebra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|