class Mio::Model::Rename
Public Instance Methods
config_hash()
click to toggle source
# File lib/mio/model/rename.rb, line 24 def config_hash { "file": { "file-name": { "value": @args.filePath, "isExpression": false }, "preserve-file-extension": @args.preserveFileExtension } } end
create_hash()
click to toggle source
# File lib/mio/model/rename.rb, line 14 def create_hash plugin = 'tv.nativ.mio.enterprise.execution.action.file.impl.rename.AssetRenameCommand' {name: @args.name, pluginClass: plugin, visibilityIds: @args.visibility, 'type': 'rename', 'runRuleExpression': @args.runRuleExpression } end