lib/gooddata/models/process.rb in gooddata-0.6.17 vs lib/gooddata/models/process.rb in gooddata-0.6.18
- old
+ new
@@ -203,9 +203,10 @@
# Downloads the process from S3 in a zipped form.
#
# @return [IO] The stream of data that represents a zipped deployed process.
def download
link = links['source']
+ client.connection.refresh_token
client.get(link, process: false) { |_, _, result| RestClient.get(result.to_hash['location'].first) }
end
def process
data['process']