class Mio::Model::AddToGroupAction
Public Instance Methods
config_hash()
click to toggle source
# File lib/mio/model/add_to_group_action.rb, line 23 def config_hash h = {} unless @args.targetAssetId.to_s == '' h['target-asset-id'] = @args.targetAssetId end unless @args.groupName.to_s == '' h['group-name'] = @args.groupName end unless @args.referenceNamePrefix.to_s == '' h['reference-name-prefix'] = @args.referenceNamePrefix end h end
create_hash()
click to toggle source
# File lib/mio/model/add_to_group_action.rb, line 14 def create_hash plugin = 'tv.nativ.mio.enterprise.execution.action.file.impl.group.GroupManipulationCommand' {name: @args.name, pluginClass: plugin, type: 'add-to-group', visibilityIds: @args.visibility} end