class Attio::Webhook

def save(**)

Override save to handle nested ID
def save(**)
  raise InvalidRequestError, "Cannot save a webhook without an ID" unless persisted?
  return self unless changed?
  webhook_id = Util::IdExtractor.extract_for_resource(id, :webhook)
  self.class.update(webhook_id, changed_attributes, **)
end