ravelin 0.1.32 → 0.1.33

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: 57a184f34aa13ef561c8cd0c18d830f8a735dd3da60f70be709063f75fbfe32a
4
- data.tar.gz: f503c5530a4fbe00aa8664c6bd96278c4c7478eea1af0ebfc55d6bee60bed7d6
3
+ metadata.gz: 1e21817ff2cec66a582b1e4fbe3123cfa3f58e0d6645d05eb71b93c1d9079cad
4
+ data.tar.gz: be656f247d59729f0c82332ce6dc133ecaa680d609cac7d0c14c6e54e2403a97
5
5
  SHA512:
6
- metadata.gz: d4f7d17b50ac3a972c322471da46fee99d79019809883ee02fab0543ae04bad6045a8e985fce80652781d146876be5ee25409f12fffd620713defb1baf49eb87
7
- data.tar.gz: c4d6dca27fca949a8033a4c9daac33df7d333722a2e2e7015cc37910b61662737a2be65c87eac7428209f550d7a117e30fc67bf79ab8758df1eb46701a5e8524
6
+ metadata.gz: 1c362ba755c944f70105ab188e407af5daf085b3292a21454438408aed3954e071f1d79d6ac8f3ddbda13c67b4547771813545ebdb51a5cb7d4e1b94aa1bf382
7
+ data.tar.gz: c751c7d82c51b62378d01f429a3af52be9067ba8e354384a186273522589813b2f6cb8b9e7cc14a519ad0a63972eef4d5bcc00a3e0428c5bc1ea45e7b37484ea
@@ -20,5 +20,15 @@ module Ravelin
20
20
  :three_d_secure
21
21
 
22
22
  attr_required :transaction_id, :currency, :debit, :credit
23
+
24
+ def initialize(params)
25
+ unless params['3ds'].nil?
26
+ self.three_d_secure = ThreeDSecure.new(params['3ds'])
27
+ params.delete('3ds')
28
+ end
29
+
30
+ super(params)
31
+ end
32
+
23
33
  end
24
34
  end
@@ -1,3 +1,3 @@
1
1
  module Ravelin
2
- VERSION = '0.1.32'
2
+ VERSION = '0.1.33'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ravelin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.32
4
+ version: 0.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Levy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2020-11-17 00:00:00.000000000 Z
14
+ date: 2020-11-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: faraday