class Multiwoven::Integrations::Destination::GoogleSheets::Client

def write(sync_config, records, action = "create")

def write(sync_config, records, action = "create")
  setup_write_environment(sync_config, action)
  process_record_chunks(records, sync_config)
rescue StandardError => e
  handle_exception(e, {
                     context: "GOOGLE_SHEETS:CRM:WRITE:EXCEPTION",
                     type: "error",
                     sync_id: sync_config.sync_id,
                     sync_run_id: sync_config.sync_run_id
                   })
end