Class: Taskr::Actions::Howlr
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Taskr::Actions::Base
Instance Method Details
#execute ⇒ Object
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 |
# File 'lib/taskr/actions.rb', line 219 def execute content_type = parameters['content_type'] content_type = 'text/plain' if content_type.blank? parameters['method'] = 'post' parameters['params'] = { 'content_type' => content_type, 'from' => parameters['from'], 'recipients' => parameters['recipients'], 'subject' => parameters['subject'], 'body' => parameters['body'], 'format' => 'XML' } super end |