Sha256: 9fcf8f68ed3dfa6c9ebef4553690e0e8d798c0b508e01dd99071468c18044aea
Contents?: true
Size: 347 Bytes
Versions: 7
Compression:
Stored size: 347 Bytes
Contents
module SolidusBling module Spree module ShippingMethodDecorator def self.prepended(base) base.class_eval do has_many :solidus_bling_shipping_methods, class_name: "SolidusBling::ShippingMethod", foreign_key: "spree_shipping_method_id" end end ::Spree::ShippingMethod.prepend self end end end
Version data entries
7 entries across 7 versions & 1 rubygems