Files
openfoodnetwork/app/models/invoice/data_presenter/payment_method.rb
Mohamed ABDELLANI 0fbf88190e Generate invoice model
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
2023-06-18 21:03:13 +02:00

4 lines
112 B
Ruby

class Invoice::DataPresenter::PaymentMethod < Invoice::DataPresenter::Base
attributes :name, :description
end