Sha256: 0447fffb3b903d70317405320d8d60192d3b0c26650446a9f5edd20284134bc6
Contents?: true
Size: 295 Bytes
Versions: 4
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true module SolidusBraintree module Spree module UserDecorator def self.prepended(base) base.has_one :braintree_customer, class_name: 'SolidusBraintree::Customer', inverse_of: :user end ::Spree.user_class.prepend self end end end
Version data entries
4 entries across 4 versions & 1 rubygems