mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-06 02:51:34 +00:00
There are three main components: 1. The invoice model 2. order serializers: serialize the order for the invoice 3. data presenters: the object that will be use to access the order's serialize data
8 lines
140 B
Ruby
8 lines
140 B
Ruby
class Invoice::DataPresenter::Base
|
|
attr :data
|
|
def initialize(data)
|
|
@data = data
|
|
end
|
|
extend Invoice::DataPresenterAttributes
|
|
end
|