zuora_api 1.6.01 → 1.6.02
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zuora_api/login.rb +1 -1
- data/lib/zuora_api/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: a4dd5929de98ae52a718c4375ff8c7858ea8a339
|
4
|
+
data.tar.gz: bb0497b88232f7d671efbd1307ff6cdbc40d0612
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f5a9570f9a499dd45c394987f3f059431c1a6a36165c23a478d89a9f4fe1dd8ec604082a76e41ee24b8204c27a1f26a458b24ed56b6e496d57ba4801e53848b
|
7
|
+
data.tar.gz: 4620a7e90171527def0d4bf3789460c5dbd8be753debb4624a4f8469c793a1ee0a88592118499b67d1ed8012369c778386b5fe4b32f4141f9cfded7d2142609b
|
data/lib/zuora_api/login.rb
CHANGED
@@ -440,7 +440,7 @@ module ZuoraAPI
|
|
440
440
|
raise "Method not supported, supported methods include: :get, :post, :put, :delete, :patch, :head, :options" if ![:get, :post, :put, :delete, :patch, :head, :options].include?(method)
|
441
441
|
|
442
442
|
authentication_headers = z_session ? {"Authorization" => self.get_session(prefix: true, auth_type: session_type) } : {}
|
443
|
-
headers = {'
|
443
|
+
headers = {'Content-Type' => "application/json; charset=utf-8"}.merge(headers).merge(authentication_headers)
|
444
444
|
|
445
445
|
response = HTTParty::Request.new("Net::HTTP::#{method.to_s.capitalize}".constantize, url, body: body, headers: headers, timeout: timeout).perform
|
446
446
|
Rails.logger.debug("Response Code: #{response.code}") if debug
|
data/lib/zuora_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.02
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zuora Strategic Solutions Group
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|