On Sat, Dec 26, 2020 at 03:13:16PM +0800, Xiao Shenwei wrote:
- }
why not build them as attr? class Myinfo @lab @email @name @token end
I need to store the my_info(hash) to es
class Myinfo @lab @email @name @token
def to_hash return my_info = { xxx } end
end
if use class to save message, it easy for use erb to transform template,
compass-ci/container/mail-robot/lib/assign-account-email.rb
To: <%= @my_email %> Subject: [compass-ci] Account Ready Dear <%= @my_name %>,
Thank you for joining us. ......
Thanks, Shenwei
This patch is used for user who install compass-ci in their private environment, just build write my_info to .config and store it to eS there is no requirement to sending email or anything else, so there is no need for you to care it.
Thanks, Luan Shengde
Thanks, Luan Shengde
Thanks, Shenwei