lib/simple_deploy/stack.rb in simple_deploy-0.6.2 vs lib/simple_deploy/stack.rb in simple_deploy-0.6.3
- old
+ new
@@ -92,9 +92,16 @@
def status
stack.status
end
+ def exists?
+ stack.status
+ true
+ rescue Stackster::Exceptions::UnknownStack
+ false
+ end
+
def attributes
stack.attributes
end
def parameters