class Attio::Note

def validate_parent!(parent_object, parent_record_id)

def validate_parent!(parent_object, parent_record_id)
  if parent_object.nil? || parent_object.to_s.empty?
    raise ArgumentError, "parent_object is required"
  end
  if parent_record_id.nil? || parent_record_id.to_s.empty?
    raise ArgumentError, "parent_record_id is required"
  end
end