zuora_api 1.6.42 → 1.6.44

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f12edc1972daf4112ac4bfd93df6463356fecc0dcbb5c324ff5e88b795a01bd9
4
- data.tar.gz: e3c02a0d1bdfc510caf909ac43982a6a4d22c9d8a8a2b1bcd9235b6fb67f230d
3
+ metadata.gz: 5bb331acf9928cebb56369372c7a8710031f6249a7d00ace4ee41bfbb2b91687
4
+ data.tar.gz: da0199198e6a2f4b5fe76eda3137469f659c69220250ac2703779dd68e3c1358
5
5
  SHA512:
6
- metadata.gz: 7822396761d0ea39c16453b4b6a85a8f1d9d9daf950038aba2784869f271b69513fb4fb27f301dd5da79331f150cc319df9374af3433a949a3d39c3e7cd5bb76
7
- data.tar.gz: 42d35790883c4ed485e33ed3f4b57926307cc1fc93e1cd745c531e8fca083770bc177ad9a626f6fe4bac3e924d21c34fc64709146e169401828b822c9f026b5f
6
+ metadata.gz: b8d4c4a91e73e47412e2751dace5022d03fcf63d31211d0919f79055b0edbbb434714f5635bb3e2fc377cde56d868e90815b5f7b657bb0a7cbe34bf38d3ba147
7
+ data.tar.gz: 8edc93e503db978a7150996258a540fb1c3946543152babee3c28034ff8d2bf9d38cd2700716abc5b41eb5e5f9db342434bcb3d85c737f2449504b1afbc2033d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zuora_api (1.6.42)
4
+ zuora_api (1.6.44)
5
5
  httparty
6
6
  nokogiri
7
7
  railties (>= 4.1.0, < 5.2)
@@ -768,9 +768,9 @@ module ZuoraAPI
768
768
  raise "Method not supported, supported methods include: :get, :post, :put, :delete, :patch, :head, :options" if ![:get, :post, :put, :delete, :patch, :head, :options].include?(method)
769
769
 
770
770
  authentication_headers = z_session ? {"Authorization" => self.get_session(prefix: true, auth_type: session_type) } : {}
771
- headers = {'Content-Type' => "application/json; charset=utf-8"}.merge(headers).merge(authentication_headers)
771
+ modified_headers = {'Content-Type' => "application/json; charset=utf-8"}.merge(authentication_headers).merge(headers)
772
772
 
773
- response = HTTParty::Request.new("Net::HTTP::#{method.to_s.capitalize}".constantize, url, body: body, headers: headers, timeout: timeout).perform
773
+ response = HTTParty::Request.new("Net::HTTP::#{method.to_s.capitalize}".constantize, url, body: body, headers: modified_headers, timeout: timeout).perform
774
774
  Rails.logger.debug("Response Code: #{response.code}") if debug
775
775
  begin
776
776
  output_json = JSON.parse(response.body)
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.6.42"
2
+ VERSION = "1.6.44"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.42
4
+ version: 1.6.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group