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



551
552
553
554
# File 'lib/zendesk_api/resources.rb', line 551

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