Skip to content

Commit

Permalink
Remove deprecated methods - we will increment a minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
smudge committed Nov 29, 2021
1 parent 459cea1 commit 0e0f9c4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/delayed/message_sending.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e0f9c4

Please sign in to comment.