class Attio::Comment

def destroy(**opts)

Override destroy to use the correct comment ID
def destroy(**opts)
  raise InvalidRequestError, "Cannot destroy a comment without an ID" unless persisted?
  comment_id = extract_comment_id
  self.class.send(:execute_request, :DELETE, "#{self.class.resource_path}/#{comment_id}", {}, opts)
  @attributes.clear
  @changed_attributes.clear
  @id = nil
  true
end