kount_complete 3.0.1 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kount/client.rb +2 -2
- data/lib/kount/config.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d915e9714d91ba927e636c361ef1a9bf38ec17a2c8a346ce819aaa876ed3bc4c
|
4
|
+
data.tar.gz: def6320eb195553061c158e92964115e625c6a58619dd95d5733b250da716736
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91922d4e74721897b3b5d941f56d6b8271b60a9568a4f15a4e5fa3125b5aad9451841dec16a8da92e4c93b4e7b52f8887aead8b4a4fce54d75e84d4e7ac23c38
|
7
|
+
data.tar.gz: 30e75e5341d958c98b73a0bc97951324071dbcd99bafe2fcfa4c9919c36f32c50a3a2ec307e3909690b26cfd71a39c912380a92e7eb5f9bee554574c673190e9
|
data/lib/kount/client.rb
CHANGED
@@ -36,7 +36,7 @@ module Kount
|
|
36
36
|
PAYMENTS_FRAUD_AUTH_ENDPOINT_PROD = 'https://login.kount.com/oauth2/ausdppksgrbyM0abp357/v1/token'
|
37
37
|
|
38
38
|
# Default endpoint for Payments Fraud by Kount 360 test. Used by the TEST_DEFAULT_OPTIONS
|
39
|
-
PAYMENTS_FRAUD_AUTH_ENDPOINT_TEST = 'https://login.kount.com/oauth2/
|
39
|
+
PAYMENTS_FRAUD_AUTH_ENDPOINT_TEST = 'https://login.kount.com/oauth2/ausdppkujzCPQuIrY357/v1/token'
|
40
40
|
|
41
41
|
# Default params for production
|
42
42
|
PROD_DEFAULT_OPTIONS = {
|
@@ -195,7 +195,7 @@ module Kount
|
|
195
195
|
if endpoint_uri.host.nil? || endpoint_uri.port.nil?
|
196
196
|
raise ArgumentError, 'Invalid endpoint or port'
|
197
197
|
end
|
198
|
-
net_http = Net::HTTP.new(endpoint_uri.host, endpoint_uri.port)
|
198
|
+
net_http = Net::HTTP.new(endpoint_uri.host.to_s, endpoint_uri.port)
|
199
199
|
if endpoint_uri.scheme == 'https'
|
200
200
|
net_http.use_ssl = true
|
201
201
|
net_http.verify_mode = test? ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER
|
data/lib/kount/config.rb
CHANGED