order2cb 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/order2cb/order.rb +1 -1
- data/lib/order2cb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb0ef624ce31beb07e043171461ca95b570be6bc
|
4
|
+
data.tar.gz: e7f2be3b40dd6a72ddda61f1e8216b549f9bb198
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd82ee4dbd1c54a995712d98ebae21c1ca98b0b9c0107c15100df0f01296d693bb988434cb7c4713489704400d64229b62f5f10cd6c7922869897ee00204596a
|
7
|
+
data.tar.gz: a306e514a9e9c56b1d8d17b2d408d9ed937ba83423f7d75e1eab314e66f5fb65bc1c6e69a04ca736ea264369393ede64f716f2a55b3141a4485641bd5a3782bb
|
data/lib/order2cb/order.rb
CHANGED
@@ -26,7 +26,7 @@ module Order2cb
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def high_risk?
|
29
|
-
(@data["risk_score"] && @data["risk_score"]
|
29
|
+
(@data["risk_score"] && @data["risk_score"] > 22) || (@data["worldpay_risk_score"] && @data["worldpay_risk_score"] >= 40)
|
30
30
|
end
|
31
31
|
|
32
32
|
def customer
|
data/lib/order2cb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: order2cb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- EmergeAdapt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|