lib/gooddata/models/process.rb in gooddata-0.6.12 vs lib/gooddata/models/process.rb in gooddata-0.6.13
- old
+ new
@@ -194,10 +194,10 @@
# @option options [String] :process_id ('nobody') From address
# @option options [String] :type ('GRAPH') Type of process - GRAPH or RUBY
# @option options [String] :name Readable name of the process
# @option options [Boolean] :verbose (false) Switch on verbose mode for detailed logging
def deploy(path, options = {})
- Process.deploy(path, client: client, process_id: process_id, :project => project).merge(options)
+ Process.deploy(path, { client: client, process_id: process_id, :project => project, :name => name, :type => type }.merge(options))
end
# Downloads the process from S3 in a zipped form.
#
# @return [IO] The stream of data that represents a zipped deployed process.