crv_api_client 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crv_api_client/animals.rb +4 -1
- data/lib/crv_api_client/reproduction.rb +4 -1
- data/lib/crv_api_client/version.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: f05420d7bef2921f70c91f90cbbe34b56db1767e82cccc367930990359ffa00a
|
4
|
+
data.tar.gz: cdf61f10e8fc8070fa9fd91b73ec9234520283b03506bbfbd16847095e709ba3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76dc5e3362a744b0f45cee4fb5d60865384bf39e3404df2f0753c0698c44eb11f23de7e62545c243e4b0ccb51eb93c725966a3cb0bc854ff3be3629ed35cd56d
|
7
|
+
data.tar.gz: 5ccbcb8d42e60675af9098413aeb8078453061f332edf0179ccdf3a18199ee04c0170034a911f35e01e7d76efa06b3395f5987fae3715afa6caf07c7e7d5ffbf
|
@@ -72,10 +72,13 @@ module CrvApiClient
|
|
72
72
|
|
73
73
|
def driver
|
74
74
|
@driver ||= begin
|
75
|
+
cert_store = OpenSSL::X509::Store.new
|
76
|
+
cert_store.set_default_paths
|
77
|
+
|
75
78
|
animal_soap_driver = CrvApiClient::Api::Animals::RsAnimalPortType.new(@endpoint_url)
|
76
79
|
animal_soap_driver.options['protocol.http.connect_timeout'] = CrvApiClient.configuration.http_connect_timeout || 220
|
77
80
|
animal_soap_driver.options['protocol.http.receive_timeout'] = CrvApiClient.configuration.http_receive_timeout || 220
|
78
|
-
animal_soap_driver.options['protocol.http.ssl_config.
|
81
|
+
animal_soap_driver.options['protocol.http.ssl_config.cert_store'] = cert_store
|
79
82
|
animal_soap_driver.wiredump_file_base = CrvApiClient.configuration.log_file
|
80
83
|
animal_soap_driver
|
81
84
|
end
|
@@ -75,10 +75,13 @@ module CrvApiClient
|
|
75
75
|
|
76
76
|
def driver
|
77
77
|
@driver ||= begin
|
78
|
+
cert_store = OpenSSL::X509::Store.new
|
79
|
+
cert_store.set_default_paths
|
80
|
+
|
78
81
|
animal_soap_driver = CrvApiClient::Api::Reproduction::RsReproductionPortType.new(@endpoint_url)
|
79
82
|
animal_soap_driver.options['protocol.http.connect_timeout'] = CrvApiClient.configuration.http_connect_timeout || 220
|
80
83
|
animal_soap_driver.options['protocol.http.receive_timeout'] = CrvApiClient.configuration.http_receive_timeout || 220
|
81
|
-
animal_soap_driver.options['protocol.http.ssl_config.
|
84
|
+
animal_soap_driver.options['protocol.http.ssl_config.cert_store'] = cert_store
|
82
85
|
animal_soap_driver.wiredump_file_base = CrvApiClient.configuration.log_file
|
83
86
|
animal_soap_driver
|
84
87
|
end
|