def destroy
        response = JSON.parse(CrateAPI::Base.call("#{CrateAPI::Base::CRATES_URL}/#{CrateAPI::Crates::CRATE_ACTIONS[:destroy] % ["#{self.id}"]}", :post))
        raise CrateDestroyError, response["message"] unless response["status"] != "failure"
      end
def destroy
        response = JSON.parse(CrateAPI::Base.call("#{CrateAPI::Base::CRATES_URL}/#{CrateAPI::Crates::CRATE_ACTIONS[:destroy] % ["#{self.id}"]}", :post))
        raise CrateDestroyError, response["message"] unless response["status"] != "failure"
      end
Destroys the given crate object.

 @return [CrateDestroyError, nil] if there is an issue destroying the crate, an error will be raised with the message explaining why.