Return path of secret file

This commit is contained in:
Jason Davis-Cooke
2015-01-27 09:12:55 -05:00
parent fa900bc4f4
commit 4902299cd4
2 changed files with 2 additions and 1 deletions

View File

@@ -151,6 +151,7 @@ module Zanzibar
.hash[:envelope][:body][:download_file_attachment_by_item_id_response][:download_file_attachment_by_item_id_result]
fail "There was an error getting the #{args[:type]} for secret #{args[:scrt_id]}: #{response[:errors][:string]}" if response[:errors]
write_secret_to_file(path, response)
return File.join(path, response[:file_name])
rescue Savon::Error => err
raise "There was an error getting the #{args[:type]} for secret #{args[:scrt_id]}: #{err}"
end

View File

@@ -1,3 +1,3 @@
module Zanzibar
VERSION = '0.1.11'
VERSION = '0.1.12'
end