Class: DelayedMailhopper::Email

Inherits:
Mailhopper::Email
  • Object
show all
Defined in:
app/models/delayed_mailhopper/email.rb

Instance Method Summary collapse

Instance Method Details

#enqueueObject



8
9
10
# File 'app/models/delayed_mailhopper/email.rb', line 8

def enqueue
  Delayed::Job.enqueue(SendJob.new(self.id))
end