Files
openfoodnetwork/app/models/distributor_payment_method.rb
2022-10-21 17:21:24 +01:00

8 lines
280 B
Ruby

# frozen_string_literal: true
class DistributorPaymentMethod < ApplicationRecord
self.table_name = "distributors_payment_methods"
belongs_to :payment_method, class_name: "Spree::PaymentMethod", touch: true
belongs_to :distributor, class_name: "Enterprise", touch: true
end