Module: RedLine::Customer
- Defined in:
- lib/redline/customer/base.rb,
lib/redline/customer/instance.rb,
lib/redline/customer/settings.rb
Defined Under Namespace
Modules: InstanceMethods, Settings
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/redline/customer/base.rb', line 5 def self.included(base) base.class_eval do extend ActiveSupport::Memoizable extend RedLine::Customer::Settings include InstanceMethods memoize :customer before_create :create_customer before_update :update_customer before_destroy :delete_customer cattr_accessor :braintree_customer_attribute_map cattr_accessor :braintree_customer_custom_fields end end |