Module: ContactExtras
- Defined in:
- lib/app/lib/contact_extras.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/app/lib/contact_extras.rb', line 2 def self.included( base ) base.class_eval do field :tjb_id after_create :create_in_tjb, :if => :has_account? after_update :update_in_tjb, :unless => :do_not_update, :if => :has_account? attr_accessor :do_not_update end base.send(:include, InstanceMethods) end |