zuora_api 1.3.0a → 1.3.0c

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70cf21773e0bf593b77f65916a0008c873ef0ecd
4
- data.tar.gz: bf2b74c75607ff3dd5e8d9e75f9e052d097aa94a
3
+ metadata.gz: 084e60e18d06145c090068c2b91f535e1454c59b
4
+ data.tar.gz: 816edf7969f10ffe38ae2a6b2cb47a5c97588ddc
5
5
  SHA512:
6
- metadata.gz: 0ea8c1252851634ef5395994cee21cdbb421f6caea3c30744bb978ad1ced12c95a2c7207ca2f13947bd43cc06693e3b749a79e82056376b1de4a44af3881f8df
7
- data.tar.gz: 0ecdb6371a7bfb439d20619e7fda07c62a4b992c20e84074c1711fb4072a770099eeceb5b74a913dc31f26cbdbbaab8188412e782f7f1646008dc2e932499036
6
+ metadata.gz: 455e505d4f67fcbdd0f4fd1a05761ab2c789f90c43292e7e3bb0e09f948101383d45cb316036089659bb51ac9e7d074ca71b99d58d8123619b60f032c63fefbc
7
+ data.tar.gz: befb2d439285ad77c6bbf86199a4cf335cd3442949723c5d80255a8dff987af992a61a20f80f436ba48b73e09c1f6efd5843446a4d7bf63c418522c050c95196
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zuora_api (1.3.0a)
4
+ zuora_api (1.3.0c)
5
5
  httparty
6
6
  nokogiri (~> 1.6.8)
7
7
  railties (>= 4.1.0, < 5.1)
@@ -77,7 +77,8 @@ module ZuoraAPI
77
77
  end
78
78
 
79
79
  def fileURL
80
- return self.url.split(".com").first.concat(".com/apps/api/file/")
80
+ return self.url.split(".com").first.concat("
81
+ /apps/api/file/")
81
82
  end
82
83
 
83
84
  def dateFormat
@@ -281,8 +282,8 @@ module ZuoraAPI
281
282
 
282
283
  def describe_call(object = nil)
283
284
  self.get_session
284
- base = self.url.include?(".com") ? self.url.split(".com")[0] : self.url.split(".eu")[0]
285
- url = object ? "#{base}.com/apps/api/describe/#{object}" : "#{base}.com/apps/api/describe/"
285
+ base = self.url.include?(".com") ? self.url.split(".com")[0].concat(".com") : self.url.split(".eu")[0].concat(".eu")
286
+ url = object ? "#{base}/apps/api/describe/#{object}" : "#{base}/apps/api/describe/"
286
287
  headers = !self.entity_id.blank? ? {"entityId" => self.entity_id, 'Content-Type' => "text/xml; charset=utf-8"} : {'Content-Type' => "text/xml; charset=utf-8"}
287
288
  response = HTTParty.get(url, :headers => headers , basic_auth: {:username => self.username, :password => self.password})
288
289
  output_xml = Nokogiri::XML(response.body)
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.3.0a"
2
+ VERSION = "1.3.0c"
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.3.0a
4
+ version: 1.3.0c
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group