zuora_api 1.3.99 → 1.3.991

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
  SHA1:
3
- metadata.gz: 8981ecd148fac5717a22a5b90cce3802094ef926
4
- data.tar.gz: ae14c625556803728169189a2db657a98c8422a9
3
+ metadata.gz: 457b25a3f8cd2ef2237f7e598219f8a039840c2a
4
+ data.tar.gz: a8f410aaf7830d3adf063914542e1ce01289e010
5
5
  SHA512:
6
- metadata.gz: 71c0ce69b97507a8156ffdc8890d24aff1360ddeeabe831bf4badc91d2f49cad397e4607a6e9fe6abf48a6f589c7c532fc7ed1e8b0a0e5ab0ee3a8268a4504aa
7
- data.tar.gz: 46fdd7c68d9ef8bde2713741646acf01cfa4117fa0d259c941d5fa5a3ed869c7cfba395cbdb8c034c406da2c827c0a78f0390a36e16d4ff7df050acc7ebf1a22
6
+ metadata.gz: cad68bd86820a9e3b552f90cb76d5a67881ac96076810ad3c6ab00fa6752482c62d26cd81fade4191fb4939583b5397781aeafcd50a4035466624822a598e44b
7
+ data.tar.gz: 5a90df7a8d5f0c61064e0d628dd22cb32fcb586a1422a8cf6b624d0a017a4fcec9b89a2b7cf1a738ecc936d8f8f3bb21e924fbfa95de9044bfb8d4b98078f395
@@ -424,6 +424,10 @@ module ZuoraAPI
424
424
  def get_file(file_name: nil, file_type: nil, url: nil, headers: {}, count: 3, z_session: true, tempfile: true, file_path: Rails.root.join('tmp'))
425
425
  raise "file_path must be of class Pathname" if file_path.class != Pathname
426
426
 
427
+ #Make sure directory exists
428
+ require 'fileutils'
429
+ Dir.mkdir_p(file_path)
430
+
427
431
  begin
428
432
  uri = URI.parse(url)
429
433
 
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.3.99"
2
+ VERSION = "1.3.991"
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.99
4
+ version: 1.3.991
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group