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

View File

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