Closed kxepal closed 10 years ago
It's a bit awkward to have the code:
db = cloudant.Database(url) doc = db.document(docid) doc.login('username', 'password')
Since these methods are not related to document nor database resources. Account as holder of server root endpoint method is more suitable place for them.
That makes sense. I used the big green button on another PR so I'll merge this manually. Thanks!
Reopen sesame!
It's a bit awkward to have the code:
db = cloudant.Database(url) doc = db.document(docid) doc.login('username', 'password')
Since these methods are not related to document nor database resources. Account as holder of server root endpoint method is more suitable place for them.