#11068, add ProductDeleter

This commit is contained in:
Ahmed Ejaz
2023-11-25 19:33:13 +05:00
parent 4f76478619
commit bf0943e655

View File

@@ -0,0 +1,8 @@
# frozen_string_literal: true
# This soft deletes the product
class ProductDeleter
def self.delete(product)
product.destroy
end
end