lib/mongohq-client/client.rb in mongohq-client-0.0.3 vs lib/mongohq-client/client.rb in mongohq-client-0.0.4

- old
+ new

@@ -19,9 +19,15 @@ end db_list end + def create_database(db_name, plan) + hash = { name: db_name, slug: plan } + + post("databases", hash) + end + def invoices json = get("invoices") invoices = []