Module: ZendeskAPI::Actions

Included in:
Automation, Macro, Trigger
Defined in:
lib/zendesk_api/resources.rb

Instance Method Summary collapse

Instance Method Details

#add_action(field, value) ⇒ Object



542
543
544
545
# File 'lib/zendesk_api/resources.rb', line 542

def add_action(field, value)
  self.actions ||= []
  self.actions << { :field => field, :value => value }
end