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



556
557
558
559
# File 'lib/zendesk_api/resources.rb', line 556

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