Sha256: c36076703b03f9076db2506d4755c83514b72a87df2df50e1f3ba9e447cf1008

Contents?: true

Size: 253 Bytes

Versions: 3

Compression:

Stored size: 253 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

3 entries across 3 versions & 1 rubygems

Version Path
solidus_subscriptions-alpha-0.0.5 app/decorators/spree/products/subscribable_decorator.rb
solidus_subscriptions-alpha-0.0.3 app/decorators/spree/products/subscribable_decorator.rb
solidus_subscriptions-alpha-0.0.2 app/decorators/spree/products/subscribable_decorator.rb