class MailchimpMarketing::AutomationsApi

def create(body, opts = {})

Add automation
def create(body, opts = {})
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
  query_params = {}
  post_body = @api_client.object_to_http_body(body)
  local_var_path = '/automations'
  data = @api_client.call_api(:POST, local_var_path,
    :query_params => query_params,
    :body => post_body)
  return data
end