blob: a1261d4caed5b4c4201987276782e5d08e6ec8bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
module SolidusSubscriptions
module Spree
module Order
module InstallmentDetailsAssociation
def self.prepended(base)
base.has_many :installment_details, class_name: '::SolidusSubscriptions::InstallmentDetail'
end
end
end
end
end
Spree::Order.prepend(SolidusSubscriptions::Spree::Order::InstallmentDetailsAssociation)
|