Add documentation for read_only parameter

This commit is contained in:
Ariel Salomon 2012-02-12 14:25:39 -08:00
parent 9eadb3c24a
commit a89492d1f8
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ module Mongo
#
# @param [String] username
# @param [String] password
# @param [Boolean] read_only
# Create a read-only user.
#
# @return [Hash] an object representing the user.
def add_user(username, password, read_only = false)