Sha256: 864ead138d57ba6c626d832006bee4a66be1b8dbab891138db739c7c4ea14a8f

Contents?: true

Size: 245 Bytes

Versions: 7

Compression:

Stored size: 245 Bytes

Contents

module Stackster
  class StackDestroyer

    def initialize(args)
      @config = args[:config]
      @name = args[:name]
      @cf = AWS::CloudFormation.new :config => @config
    end

    def destroy
      @cf.destroy @name
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stackster-0.1.3 lib/stackster/stack/stack_destroyer.rb
stackster-0.1.2 lib/stackster/stack/stack_destroyer.rb
stackster-0.1.1 lib/stackster/stack/stack_destroyer.rb
stackster-0.1.0 lib/stackster/stack/stack_destroyer.rb
stackster-0.0.5 lib/stackster/stack/stack_destroyer.rb
stackster-0.0.4 lib/stackster/stack/stack_destroyer.rb
stackster-0.0.3 lib/stackster/stack/stack_destroyer.rb