Modernize Ruby hash syntax
This commit is contained in:
1 parent
455e90fb27
commit
a79de1a398
3 files changed
+12
-8
No files matched your search
+7
-7
@@ -2,12 +2,12 @@ require "mail"
|
||||
|
||||
Mail.defaults do
|
||||
delivery_method :smtp, {
|
||||
:address => "mail.netig.net",
|
||||
:port => 587,
|
||||
:domain => "netig.net",
|
||||
:user_name => "noreply@netig.net",
|
||||
:password => ENV.fetch("SMTP_PASSWORD"),
|
||||
:authentication => "plain",
|
||||
:enable_starttls => :always
|
||||
address: "mail.netig.net",
|
||||
port: 587,
|
||||
domain: "netig.net",
|
||||
user_name: "noreply@netig.net",
|
||||
password: ENV.fetch("SMTP_PASSWORD"),
|
||||
authentication: "plain",
|
||||
enable_starttls: :always
|
||||
}
|
||||
end
|
||||
Reference in new issue
Block a user