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:
commit
1251e89e61
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue