Class: Offer
- Inherits:
-
Renderable
show all
- Includes:
- E9Rails::ActiveRecord::InheritableOptions, E9Rails::ActiveRecord::Initialization, E9Rails::ActiveRecord::STI
- Defined in:
- app/models/offer.rb
Overview
A Renderable
which “offers” the user something. Responses to these offers are tracked as Leads
Defined Under Namespace
Modules: Identifiers
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.conversion_email ⇒ Object
.element ⇒ Object
39
40
41
|
# File 'app/models/offer.rb', line 39
def element
'offer'
end
|
.page ⇒ Object
31
32
33
|
# File 'app/models/offer.rb', line 31
def page
SystemPage.find_by_identifier(Identifiers::PAGE)
end
|
.partial_path ⇒ Object
35
36
37
|
# File 'app/models/offer.rb', line 35
def partial_path
'e9_crm/offers/offer'
end
|
Instance Method Details
#to_s ⇒ Object
44
45
46
|
# File 'app/models/offer.rb', line 44
def to_s
name
end
|