zuora_rest_client 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zuora_rest_client/connection.rb +1 -2
- data/lib/zuora_rest_client/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: 4209996f72d48ab69bfdf72453cdaeb2bcfda743
|
4
|
+
data.tar.gz: 7062035180f512877d648678490744378b86e859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f00c89570b37f8ea84e2421add3b29a104f120ccc33c5f0280b6a4afb6c21a9558628c9325e24125ec8a4c3bff18abba7af8f8d7b8823dfbd4cda521c003fd70
|
7
|
+
data.tar.gz: 0b442c7545567cbb18d8eb2aa632f516a4c97e508a3d791f7d35ff450984ea7a7a07e1d2e7ff8b6bb8f29881b84548e2cacbf6969729ad45b3463c69aef5411f
|
@@ -61,7 +61,7 @@ module ZuoraRestClient
|
|
61
61
|
endpoint_uri = Addressable::URI.parse(zuora_endpoint.rest)
|
62
62
|
Net::HTTP.start(endpoint_uri.normalized_host, endpoint_uri.normalized_port,
|
63
63
|
use_ssl: endpoint_uri.normalized_scheme == 'https') do |http|
|
64
|
-
request = Net::HTTP::Get.new path
|
64
|
+
request = Net::HTTP::Get.new [ endpoint_uri.normalized_path, ZUORA_REST_MAJOR_VERSION, path ].join('/')
|
65
65
|
rest_headers(zuora_version).each_pair do |header_key, header_value|
|
66
66
|
request[header_key] = header_value
|
67
67
|
end
|
@@ -159,7 +159,6 @@ module ZuoraRestClient
|
|
159
159
|
if use_api_proxy
|
160
160
|
rest_endpoint_uri.path = '/'
|
161
161
|
rest_endpoint_uri.port = @options[:api_proxy_port] || 443
|
162
|
-
rest_post('/connections')
|
163
162
|
end
|
164
163
|
Faraday.new(url: rest_endpoint_uri.to_s) do |faraday|
|
165
164
|
faraday.use FaradayMiddleware::FollowRedirects
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Massad
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|