Fog::Model
# File lib/fog/aws/models/rds/snapshot.rb, line 26 def destroy requires :id service.delete_db_snapshot(id) true end
# File lib/fog/aws/models/rds/snapshot.rb, line 22 def ready? state == 'available' end
# File lib/fog/aws/models/rds/snapshot.rb, line 33 def save requires :instance_id requires :id data = service.create_db_snapshot(instance_id, id).body['CreateDBSnapshotResult']['DBSnapshot'] merge_attributes(data) true end
# File lib/fog/aws/models/rds/snapshot.rb, line 42 def server requires :instance_id service.servers.get(instance_id) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.