Class: EmailParams::NewLoadTenderEmailParams
Instance Attribute Summary
#event_notification_configuration, #recipient, #reference_event
Instance Method Summary
collapse
#formatted_event_start_date, #from, #initialize, #template_name, #to
Instance Method Details
#company_name ⇒ Object
11
12
13
|
# File 'app/notifications/email_params/new_load_tender_email_params.rb', line 11
def company_name
company.company_name_e
end
|
#customer_name ⇒ Object
15
16
17
|
# File 'app/notifications/email_params/new_load_tender_email_params.rb', line 15
def customer_name
customer.customer_name
end
|
#dear ⇒ Object
7
8
9
|
# File 'app/notifications/email_params/new_load_tender_email_params.rb', line 7
def dear
recipient.user_name
end
|
#message_part1 ⇒ Object
19
20
21
|
# File 'app/notifications/email_params/new_load_tender_email_params.rb', line 19
def message_part1
I18n.t('dummy_emails.new_load_tender.part1')
end
|
#message_part2 ⇒ Object
23
24
25
|
# File 'app/notifications/email_params/new_load_tender_email_params.rb', line 23
def message_part2
I18n.t('dummy_emails.new_load_tender.part2')
end
|
#message_part3 ⇒ Object
27
28
29
|
# File 'app/notifications/email_params/new_load_tender_email_params.rb', line 27
def message_part3
I18n.t('dummy_emails.new_load_tender.part3')
end
|
#subject ⇒ Object
3
4
5
|
# File 'app/notifications/email_params/new_load_tender_email_params.rb', line 3
def subject
I18n.t('dummy_emails.new_load_tender.subject')
end
|