Skip to content

Commit b9268d8

Browse files
committed
restore a method lost in action of cleanup
1 parent c173bd9 commit b9268d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ecommerce/pricing/lib/pricing/offer.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ def quantities
268268
{ product_id:, quantity: h[:quantity] }
269269
end
270270
end
271+
272+
def empty?
273+
@items.empty?
274+
end
271275
end
272276
end
273277
end

0 commit comments

Comments
 (0)