Skip to content

Commit

Permalink
standardize
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jun 27, 2024
1 parent c9ae64c commit f739797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/concerns/noticed/deliverable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def deliver_by(name, options = {})
delivery_methods[name] = DeliverBy.new(name, config)
end

def recipients(option=nil, &block)
self._recipients = block_given? ? block : option
def recipients(option = nil, &block)
self._recipients = block || option
end

def required_params(*names)
Expand Down

0 comments on commit f739797

Please sign in to comment.