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

- old
+ new

@@ -26,7 +26,11 @@ json = get("databases/#{name}/collections/#{col_name}") Collection.new(json: json, database: name) end + def remove + delete("databases/#{name}") + end + end end