1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/models/payment_gateway_object.rb

8 lines
275 B
Ruby
Raw Normal View History

2021-04-16 12:25:48 +02:00
# frozen_string_literal: true
# A link between an object in the local database and another object in the remote payment gateway database
class PaymentGatewayObject < ApplicationRecord
belongs_to :item, polymorphic: true
belongs_to :gateway_object, polymorphic: true
end