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

Merge pull request #2453 from axyjo/aws_rds_subnet_group_ready

[aws|rds] Implement `ready?` for subnet group.
This commit is contained in:
Wesley Beary 2013-12-04 08:26:11 -08:00
commit 1251e89e61

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)