Sha256: 95d8674c4385fc7c2e7af87c4576bf09747b5f902e51ceff8642f3f08bb605cd

Contents?: true

Size: 305 Bytes

Versions: 6

Compression:

Stored size: 305 Bytes

Contents

module Doggy
  class CLI::Unmute
    attr_reader :options, :ids

    def initialize(options, ids)
      @options = options
      @ids = ids
    end

    def run
      begin
        Doggy::Monitor.unmute(ids)
      rescue DoggyError
        puts "Unmute failed."
        exit 1
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
doggy-0.2.2 lib/doggy/cli/unmute.rb
doggy-0.2.0 lib/doggy/cli/unmute.rb
doggy-0.1.3 lib/doggy/cli/unmute.rb
doggy-0.1.2 lib/doggy/cli/unmute.rb
doggy-0.1.1 lib/doggy/cli/unmute.rb
doggy-0.1.0 lib/doggy/cli/unmute.rb