lib/doggy/cli/mute.rb in doggy-2.0.30 vs lib/doggy/cli/mute.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(&:mute) + monitors.each { |monitor| monitor.toggle_mute!('mute') } end end end