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



562
563
564
565
# File 'lib/zendesk_api/resources.rb', line 562

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