lib/doggy/cli/unmute.rb in doggy-2.0.30 vs lib/doggy/cli/unmute.rb in doggy-2.0.31

- old
+ new

@@ -7,10 +7,10 @@ @ids = ids end def run monitors = @ids.map { |id| Doggy::Models::Monitor.find(id) } - monitors.each(&:unmute) + monitors.each { |monitor| monitor.toggle_mute!('unmute') } end end end