Class: Company::Leads
- Inherits:
-
Object
- Object
- Company::Leads
- Defined in:
- lib/company/collections/leads.rb
Overview
The leads of a business: who asked it for work, before there is a job. A gem answers
create with the lead its platform filed, dropping what the platform has no field for.
Instance Method Summary collapse
-
#create(name:, surname:, phone:, email:, address:, description:, notes:, source:) ⇒ Lead
The lead as the platform filed it.
Instance Method Details
#create(name:, surname:, phone:, email:, address:, description:, notes:, source:) ⇒ Lead
Returns the lead as the platform filed it.
14 15 16 |
# File 'lib/company/collections/leads.rb', line 14 def create(name:, surname:, phone:, email:, address:, description:, notes:, source:) raise NotImplementedError, "#{self.class} does not file a lead" end |