diff --git a/lib/delayed/message_sending.rb b/lib/delayed/message_sending.rb index 5e9293a..800140c 100644 --- a/lib/delayed/message_sending.rb +++ b/lib/delayed/message_sending.rb @@ -18,16 +18,6 @@ def delay(options = {}) DelayProxy.new(PerformableMethod, self, options) end alias __delay__ delay - - def send_later(method, *args) - warn '[DEPRECATION] `object.send_later(:method)` is deprecated. Use `object.delay.method' - __delay__.__send__(method, *args) - end - - def send_at(time, method, *args) - warn '[DEPRECATION] `object.send_at(time, :method)` is deprecated. Use `object.delay(:run_at => time).method' - __delay__(run_at: time).__send__(method, *args) - end end module MessageSendingClassMethods