Class: Mycrm::Models::Application

Inherits:
Object
  • Object
show all
Includes:
Mycrm::Model
Defined in:
lib/mycrm/models/application.rb

Overview

leads

Instance Method Summary collapse

Methods included from Mycrm::Model

included

Instance Method Details

#add_feature(feature) ⇒ Object



33
34
35
# File 'lib/mycrm/models/application.rb', line 33

def add_feature(feature)
  self.features << Mycrm::Domains::LoanFeatures.find(feature)
end

#add_purpose(purpose) ⇒ Object



29
30
31
# File 'lib/mycrm/models/application.rb', line 29

def add_purpose(purpose)
  self.purposes << Mycrm::Domains::Purposes.find(purpose)
end