kount_complete 2.0.1 → 2.0.2
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 +6 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bea952b1bbcaaa081e3ba1f9b7b08f542ecd649fe96c4afb6fd39e0e4f335536
|
|
4
|
+
data.tar.gz: 1c5d2e8540b060863d7d25cb8ed20c3cde918f6bf184fc2ca1c0b6acf9078107
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 331c73f30216f3f3bcfbf43ca6dcffc7fd4abdb37c2cb419c4cd214ea75a58b361ee84da51d3c01f9889b87d76112f662100b93f42b27f92a7c214eaac787977
|
|
7
|
+
data.tar.gz: 0a3297e1081b739474e4ef205403c55a2cbbe4fc501391c6d9326c3e4a7411d79a037e80d174378720d23a921bbd433f6338db1e6930800b30c6f8d930d6adcd
|
data/lib/kount/client.rb
CHANGED
|
@@ -68,7 +68,7 @@ module Kount
|
|
|
68
68
|
begin
|
|
69
69
|
response = RestClient::Resource.new(
|
|
70
70
|
endpoint,
|
|
71
|
-
verify_ssl: verify_ssl_option, timeout:
|
|
71
|
+
verify_ssl: verify_ssl_option, timeout: timeout
|
|
72
72
|
).post params, x_kount_api_key: key
|
|
73
73
|
|
|
74
74
|
JSON.parse(response)
|
|
@@ -99,6 +99,11 @@ module Kount
|
|
|
99
99
|
@options[:endpoint]
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
# Timeout settings
|
|
103
|
+
def timeout
|
|
104
|
+
@options[:timeout]
|
|
105
|
+
end
|
|
106
|
+
|
|
102
107
|
# Merchant API for RIS acess
|
|
103
108
|
def key
|
|
104
109
|
@options[:key]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kount_complete
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kount
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -79,8 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
80
|
version: 1.3.5
|
|
81
81
|
requirements: []
|
|
82
|
-
|
|
83
|
-
rubygems_version: 2.7.6.2
|
|
82
|
+
rubygems_version: 3.1.2
|
|
84
83
|
signing_key:
|
|
85
84
|
specification_version: 4
|
|
86
85
|
summary: Kount Complete Services Wrapper
|