Class: Fog::AWS::RDS::SubnetGroup
- Inherits:
-
Model
- Object
- Model
- Fog::AWS::RDS::SubnetGroup
- Defined in:
- lib/fog/aws/models/rds/subnet_group.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
24 25 26 27 |
# File 'lib/fog/aws/models/rds/subnet_group.rb', line 24 def destroy requires :id service.delete_db_subnet_group(id) end |
#ready? ⇒ Boolean
13 14 15 16 |
# File 'lib/fog/aws/models/rds/subnet_group.rb', line 13 def ready? requires :status status == 'Complete' end |
#save ⇒ Object
18 19 20 21 22 |
# File 'lib/fog/aws/models/rds/subnet_group.rb', line 18 def save requires :description, :id, :subnet_ids service.create_db_subnet_group(id, subnet_ids, description) reload end |