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
22 23 24 25 |
# File 'lib/fog/aws/models/rds/subnet_group.rb', line 22 def destroy requires :id service.delete_db_subnet_group(id) end |
#ready? ⇒ Boolean
11 12 13 14 |
# File 'lib/fog/aws/models/rds/subnet_group.rb', line 11 def ready? requires :status status == 'Complete' end |
#save ⇒ Object
16 17 18 19 20 |
# File 'lib/fog/aws/models/rds/subnet_group.rb', line 16 def save requires :description, :id, :subnet_ids service.create_db_subnet_group(id, subnet_ids, description) reload end |