lib/fog/aws/models/compute/vpc.rb in fog-1.18.0 vs lib/fog/aws/models/compute/vpc.rb in fog-1.19.0
- old
+ new
@@ -18,9 +18,14 @@
self.dhcp_options_id ||= "default"
self.tenancy ||= "default"
super
end
+ def ready?
+ requires :state
+ state == 'available'
+ end
+
# Removes an existing vpc
#
# vpc.destroy
#
# ==== Returns