def delete
      raise ReadOnlyRemoteRecord if readonly?

      response = remote_call(:delete, scope_key_hash)

      add_errors(response.errors) if response.respond_to?(:errors)

      success? ? freeze : false
    end
def delete
      raise ReadOnlyRemoteRecord if readonly?

      response = remote_call(:delete, scope_key_hash)

      add_errors(response.errors) if response.respond_to?(:errors)

      success? ? freeze : false
    end
Deletes the record from the service (the service determines if the
 record is hard or soft deleted) and freezes this instance to indicate
 that no changes should be made (since they can't be persisted). If the
 record was not deleted, it will have error messages indicating what went
 wrong. Returns the frozen instance.