1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|rds] Implement ready? for subnet group.

This commit is contained in:
Akshay Joshi 2013-12-04 11:17:21 -05:00
parent 3ae7c2252c
commit 8e6b98d08e

View file

@ -12,8 +12,11 @@ module Fog
attribute :vpc_id, :aliases => 'VpcId'
attribute :subnet_ids, :aliases => 'Subnets'
# TODO: ready?
#
def ready?
requires :status
status == 'Complete'
end
def save
requires :description, :id, :subnet_ids
service.create_db_subnet_group(id, subnet_ids, description)