1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/myapp/app/mailers/user_mailer.rb
Mike Perham 55ced28181
Update standard rules (#5360)
* update standard rules and run standard:fix

* Fix more standard errors

* standardize
2022-06-05 07:44:52 -07:00

9 lines
214 B
Ruby

class UserMailer < ActionMailer::Base
default from: "sidekiq@example.com"
def greetings(now)
@now = now
@hostname = `hostname`.strip
mail(to: "mperham@gmail.com", subject: "Ahoy Matey!")
end
end