Class: Atomsphere::Action::ExecuteProcess
- Defined in:
- lib/atomsphere/action/execute_process.rb
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
Methods inherited from Action
Instance Method Details
#request ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/atomsphere/action/execute_process.rb', line 7 def request { ProcessProperties: { '@type': 'ProcessProperties', ProcessProperty: [ { '@type': '', Name: 'priority', Value: 'medium' } ] }, atomId: atom_id }.merge(!process_id.nil? ? { processId: process_id } : { processName: process_name }) end |