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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kount/client.rb +6 -1
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffe29409cb7151a4b5569cc630a3da9b4557d4e6a5c84222aae6ae29aed518b9
4
- data.tar.gz: 568f86fa21964f0c74cbedfae34927e458a19fed8d7a04399223a4971603c3ca
3
+ metadata.gz: bea952b1bbcaaa081e3ba1f9b7b08f542ecd649fe96c4afb6fd39e0e4f335536
4
+ data.tar.gz: 1c5d2e8540b060863d7d25cb8ed20c3cde918f6bf184fc2ca1c0b6acf9078107
5
5
  SHA512:
6
- metadata.gz: 6ea4f3e6c696bc44d399577fd637d27081b73a4c65f0bdef1254a208457754ca795eb5f1b60c4e19128c66bfcd7dc97ebf5358ea274847a0d88f7d3a311a8d56
7
- data.tar.gz: 4e472b8e534e2e61cd5a0d1e746cf00bfdc66fb10d47fcd88a7a96b1949646a01ad3e299a2bdc05881eff03ee145117b7b33449e8674b1a8ead916fe3d26713c
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: 1
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.1
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: 2019-10-30 00:00:00.000000000 Z
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
- rubyforge_project:
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