Add documentation for read_only parameter
This commit is contained in:
parent
9eadb3c24a
commit
a89492d1f8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue