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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmJjODg4M2ZiYzMxMTE2ZmJhZjA3MTQ2NzYyNmMzY2VmZGY4YTJhNw==
4
+ YWI2ZTY5ZGU2ZDYzODgzMDA0YzcwMGRhZGRjNjhmYTEyN2ZjN2YzNg==
5
5
  data.tar.gz: !binary |-
6
- ODc1OWY1ZmMxNDBhNjA2OTJjMmJiYjI3ODdjMzJlNDE0NGEzY2RlNg==
6
+ YTUwZjJkMGFmOWE5ZjE2NGMyODlmYWYwYzIxNGUzOTNlZjFlOTBkMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTg5M2IxMmNlZDhkNzkxOWYzY2VkMjVlZThhOGQ5YjYwZGQ0MWVlYjE0NjVk
10
- NjY0YjRkNTQ2YTFiNDNhYTVjODE5OGVhM2RlNjhkMzc3Mjc4M2Q3NGRjNjIy
11
- OWM2MmFlMGZhMTkzMmI4MjRlNDA1ZTM5MTA2ZDBiZmRiOTQyY2I=
9
+ MGYxZGVlMWMzOTU2NTllZmQ3ODFlNDdhYjIyOGJjOTFmNzg3YTkzZjY1MDhj
10
+ YWFjMDQxZWFhMjkzMTM2YWNhNmE2NGZiNjMzMmJmODY0YmZkY2MzYTNmZWE2
11
+ ZWEyOGQ5OWJjNzliNTlkN2FiNWI3Yzc4ZDAzNGFhNzlmMDYxOWQ=
12
12
  data.tar.gz: !binary |-
13
- ODk4ODY4YTU3OGQzNmUxNjM3MjNkZmZiNmU2YzYwYzFjNGM1YTFhMWM3NDAy
14
- M2YwMDk4NDE5MWFlMmYzOTRlMTgyYzdiOGZjNDFmODljMDY5N2U0ODc3ZDRm
15
- NDA5MzlmYWJhNjA1MTk3ZDU4ZjE4ZDg3N2JmNmQwMDFhYTg5MDA=
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, :raw
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
  #
@@ -1,3 +1,3 @@
1
1
  module FatZebra
2
- VERSION = "2.0.7"
2
+ VERSION = "2.0.8"
3
3
  end
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.7
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: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec