Sha256: 11948f1df6aeb6576cef20e1526dac18b94a9f2cd33382be5f25015a79b90832

Contents?: true

Size: 398 Bytes

Versions: 7

Compression:

Stored size: 398 Bytes

Contents

# 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)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 app/decorators/models/solidus_subscriptions/spree/order/installment_details_association.rb
solidus_subscriptions-2.0.1 app/decorators/models/solidus_subscriptions/spree/order/installment_details_association.rb
solidus_subscriptions-2.0.0 app/decorators/models/solidus_subscriptions/spree/order/installment_details_association.rb
solidus_subscriptions-1.1.0 app/decorators/models/solidus_subscriptions/spree/order/installment_details_association.rb
solidus_subscriptions-1.0.1 app/decorators/models/solidus_subscriptions/spree/order/installment_details_association.rb
solidus_subscriptions-1.0.0 app/decorators/models/solidus_subscriptions/spree/order/installment_details_association.rb
solidus_subscriptions-1.0.0.rc1 app/decorators/models/solidus_subscriptions/spree/order/installment_details_association.rb