diff --git a/lib/mongo/db.rb b/lib/mongo/db.rb index 0e4dd2d..72f0e8d 100644 --- a/lib/mongo/db.rb +++ b/lib/mongo/db.rb @@ -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)