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 +4 -4
- data/lib/zuora_api/login.rb +4 -0
- data/lib/zuora_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 457b25a3f8cd2ef2237f7e598219f8a039840c2a
|
4
|
+
data.tar.gz: a8f410aaf7830d3adf063914542e1ce01289e010
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cad68bd86820a9e3b552f90cb76d5a67881ac96076810ad3c6ab00fa6752482c62d26cd81fade4191fb4939583b5397781aeafcd50a4035466624822a598e44b
|
7
|
+
data.tar.gz: 5a90df7a8d5f0c61064e0d628dd22cb32fcb586a1422a8cf6b624d0a017a4fcec9b89a2b7cf1a738ecc936d8f8f3bb21e924fbfa95de9044bfb8d4b98078f395
|
data/lib/zuora_api/login.rb
CHANGED
@@ -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
|
|
data/lib/zuora_api/version.rb
CHANGED