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