Produced by Araxis Merge on 8/4/2017 2:44:58 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | CUI-Release-v2.2.0-source.zip\CUI-Release-v2.2.0-source\app\mailers | user_mailer.rb | Thu Jun 15 19:04:28 2017 UTC |
| 2 | CUI-Release-v2.2.0-source.zip\CUI-Release-v2.2.0-source\app\mailers | user_mailer.rb | Fri Aug 4 16:48:17 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 5 | 114 |
| Changed | 4 | 12 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | class User Mailer < A pplication Mailer | |
| 2 | ||
| 3 | default fr om: " PII " | |
| 4 | ||
| 5 | ||
| 6 | #SUPPOR T_REQUEST_ INBOX = 'c ui.testing 2017@gmail .com' | |
| 7 | SUPPORT _REQUEST_I NBOX = ENV ['SUPPORT_ REQUEST_IN BOX'] | |
| 8 | #SUPPORT_R EQUEST_INB OX_PRIMARY = " P I I " | |
| 9 | #SUPPORT_R EQUEST_INB OX_SECONDA RY = " P I I " | |
| 10 | #SUPPORT_R EQUEST_INB OX_TERTIAR Y = " P II " | |
| 11 | ||
| 12 | ||
| 13 | def wel come_email (email_add ress, mess age) | |
| 14 | custom_fro m = " PII " | |
| 15 | # mai l(from: cu stom_from, to: email _address, subject: ' Welcome to Clinician User Inte rface', bo dy: messag e) | |
| 16 | end | |
| 17 | ||
| 18 | def acc ess_reques t(new_user , app_admi n) | |
| 19 | @new _user = ne w_user | |
| 20 | @app _admin = a pp_admin | |
| 21 | # mai l(to: app_ admin.emai l, subject : 'Request for Acces s to CUI') | |
| 22 | end | |
| 23 | ||
| 24 | def acc ess_respon se(user) | |
| 25 | @use r = user | |
| 26 | # mai l(to: user .email, su bject: 'Re sponse to your Reque st for Acc ess to CUI ') | |
| 27 | end | |
| 28 | ||
| 29 | def sit e_access_r equest(new _user, sit e_admin, s ite, roles ) | |
| 30 | @new _user = ne w_user | |
| 31 | @sit e_admin = site_admin | |
| 32 | @sit e = site | |
| 33 | @rol es = roles | |
| 34 | # mai l(to: site _admin.ema il, subjec t: 'Reques t for Acce ss to CUI site: ' + site.name) | |
| 35 | end | |
| 36 | ||
| 37 | def sit e_access_r esponse(us er, site, roles) | |
| 38 | @use r = user | |
| 39 | @sit e = site | |
| 40 | @rol es = roles | |
| 41 | # mai l(to: user .email, su bject: 'Re sponse to your Reque st for Acc ess to CUI site: ' + site.name ) | |
| 42 | end | |
| 43 | ||
| 44 | def sen d_create_e xamination _email(use r) | |
| 45 | @user = user | |
| 46 | # mail (to: user. email, sub ject: 'Pen ding Reque st') | |
| 47 | end | |
| 48 | ||
| 49 | def send _create_ex am_request _email(use r) | |
| 50 | @user = user | |
| 51 | # mail( to: user.e mail, subj ect: 'New Exam Reque st') | |
| 52 | end | |
| 53 | ||
| 54 | def sen d_support_ request_co nfirmation (sr) | |
| 55 | @sup port_reque st = sr | |
| 56 | mail (to: SUPPO RT_REQUEST _INBOX, | |
| 57 | from: ' PII ', | |
| 58 | #cc:@sr.c ustomer_em ail, | |
| 59 | subject: "Sev: "+ @ support_re quest.seve rity.to_s + " / Issu e: " + @su pport_requ est.issue_ descriptio n | |
| 60 | ) | |
| 61 | end | |
| 62 | ||
| 63 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.