Sha256: f5563f36ab2eed74b39c667cf670f405b3b30b838990276412f6afcb7300519f
Contents?: true
Size: 412 Bytes
Versions: 1
Compression:
Stored size: 412 Bytes
Contents
module Spree class Product module Recommendable extend ActiveSupport::Concern class_methods do ## # Get recommendations for products. # @return [Recommendations::Recommendable::Products] # def recommendations @recommend_client ||= SolidusRecommendations::Client.new @recommend_client.products end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_recommendations-0.0.1 | app/models/concerns/spree/product/recommendable.rb |