Sha256: a8f85aab41a841d42bb8128d9bebebdadf303c85b7b11b59798c64db5f225325
Contents?: true
Size: 304 Bytes
Versions: 6
Compression:
Stored size: 304 Bytes
Contents
# encoding: utf-8 module Doggy class CLI::Unmute def initialize(options, ids) @options = options @ids = ids end def run monitors = @ids.map { |id| Doggy::Models::Monitor.find(id) } monitors.each { |monitor| monitor.toggle_mute!('unmute') } end end end
Version data entries
6 entries across 6 versions & 1 rubygems