mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
10 lines
220 B
Ruby
10 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
|