lib/jsonapi/consumer/resource.rb
def destroy
      self.last_result_set = self.class.requestor.destroy(self)
      if last_result_set.has_errors?
        fill_errors
        false
      else
        self.attributes.clear
        true
      end
    end
def destroy
      self.last_result_set = self.class.requestor.destroy(self)
      if last_result_set.has_errors?
        fill_errors
        false
      else
        self.attributes.clear
        true
      end
    end
Try to destroy this resource

 @return [Boolean] Whether or not the destroy succeeded