Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup

  • Loading branch information...
commit 1f4041f1f4cf04dae90a2656db9f0784366549ac 1 parent d02495c
@kadwanev kadwanev authored trevorrowe committed
Showing with 2 additions and 3 deletions.
  1. +0 −2  lib/aws/rds.rb
  2. +2 −1  lib/aws/rds/db_instance_collection.rb
View
2  lib/aws/rds.rb
@@ -24,8 +24,6 @@ class RDS
autoload :Errors, 'errors'
autoload :DBInstance, 'db_instance'
autoload :DBInstanceCollection, 'db_instance_collection'
- #autoload :JobFlow, 'job_flow'
- #autoload :JobFlowCollection, 'job_flow_collection'
autoload :Request, 'request'
end
View
3  lib/aws/rds/db_instance_collection.rb
@@ -19,7 +19,8 @@ def [] db_instance_id
DBInstance.new(db_instance_id, :config => config)
end
- def create options = {}
+ def create name, options = {}
+ options[:db_instance_identifier] = name
response = client.create_db_instance(options)
self[response.data[:db_instance][:db_instance_identifier]]
Please sign in to comment.
Something went wrong with that request. Please try again.