lib/gooddata/rest/client.rb in gooddata-0.6.12 vs lib/gooddata/rest/client.rb in gooddata-0.6.13

- old
+ new

@@ -328,20 +328,16 @@ def download(source_relative_path, target_file_path, options = {}) @connection.download source_relative_path, target_file_path, options end def download_from_user_webdav(source_relative_path, target_file_path, options = { :client => GoodData.client, :project => project }) - download(source_relative_path, target_file_path, options.merge( - :directory => options[:directory], - :staging_url => get_user_webdav_url(options) - )) + download(source_relative_path, target_file_path, options.merge(:directory => options[:directory], + :staging_url => get_user_webdav_url(options))) end def upload_to_user_webdav(file, options = {}) - upload(file, options.merge( - :directory => options[:directory], - :staging_url => get_user_webdav_url(options) - )) + upload(file, options.merge(:directory => options[:directory], + :staging_url => get_user_webdav_url(options))) end def with_project(pid, &block) GoodData.with_project(pid, client: self, &block) end