amex_enhanced_authorization 0.1.2 → 0.2.0
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: 2668ce00e86e249be0f70f12d07a6cb0a744bbc1372e7fbdeedb838197d9cb05
|
4
|
+
data.tar.gz: 9c6dad561f82045bfa60b7ee42f06c95040985c7584af67551e69033f0c38166
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 530bfb74cc5ff4103a0b8ca594d60b7e0e7e22cc673803cfa56242004b12a30279230d4aeda84068bdc75997fcddaf0227f550e9b705ecd876879d7fe0f660a6
|
7
|
+
data.tar.gz: 9d58407c472e284ce9a636eb0395977bdb72265cf2234e058fe16b2dc6b1f50cd844e37e9bd0403d0c7aa705045be0caafc7b26e71bb2aaabd854a26954d4132
|
@@ -6,6 +6,7 @@ module AmexEnhancedAuthorization
|
|
6
6
|
attr_accessor :customer_email
|
7
7
|
attr_accessor :billing_address, :billing_postal_code, :billing_first_name, :billing_last_name, :billing_phone_number
|
8
8
|
attr_accessor :shipto_address, :shipto_postal_code, :shipto_first_name, :shipto_last_name, :shipto_phone_number, :shipto_country_code
|
9
|
+
attr_accessor :device_ip
|
9
10
|
|
10
11
|
def initialize(params)
|
11
12
|
params.each_pair { |k, v| send "#{k}=", v }
|
@@ -43,6 +44,7 @@ module AmexEnhancedAuthorization
|
|
43
44
|
shipto_last_name: shipto_last_name,
|
44
45
|
shipto_phone_number: shipto_phone_number,
|
45
46
|
shipto_country_code: shipto_country_code,
|
47
|
+
device_ip: device_ip,
|
46
48
|
}.compact
|
47
49
|
end
|
48
50
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amex_enhanced_authorization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piers Chambers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|