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

9 lines
220 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