1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-05 20:46:14 +01:00
fab-manager/app/models/cart_item/base_item.rb

16 lines
294 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# Items that can be added to the shopping cart
module CartItem; end
# This is an abstract class implemented by classes that can be added to the shopping cart
class CartItem::BaseItem
def price
{ elements: {}, amount: 0 }
end
def name
''
end
end