Class: Taskr::Actions::Taskr4rails
Instance Attribute Summary
Attributes inherited from Base
#parameters, #task, #task_action
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Taskr::Actions::Base
Instance Method Details
#execute ⇒ Object
306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/taskr/actions.rb', line 306 def execute data = { :task_name => task.name, :task_id => task.id, :auth => parameters['auth'], :dont_wait => parameters['dont_wait'], :ruby_code => parameters['ruby_code']#, #:shell_command => parameters['shell_command'] } = {:logger => LogEntry.logger_for_action(task_action)} Restr.post(parameters['url'], data, ) end |