Sha256: 541bc347ec90193568faf033b201f00d7cba541e588616530ea650d461a91f43
Contents?: true
Size: 267 Bytes
Versions: 1
Compression:
Stored size: 267 Bytes
Contents
# frozen_string_literal: true module SolidusBraintree module SpreeUserDecorator def self.prepended(base) base.has_one :braintree_customer, class_name: 'SolidusBraintree::Customer', inverse_of: :user end ::Spree.user_class.prepend self end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_braintree-3.2.0 | app/decorators/models/solidus_braintree/spree_user_decorator.rb |