Sha256: ab157d81173d1bd039b402380f9a46374539121f39d8fe1d6591cb2434ae938f

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

module Spree
  module Products
    module Subscribable
      def self.prepended(klass)
        klass.delegate :"subscribable", :"subscribable=", to: :find_or_build_master
      end
    end
  end
end

Spree::Product.prepend Spree::Products::Subscribable

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_subscriptions-alpha-0.0.4 app/decorators/spree/products/subscribable_decorator.rb