class Mongo::Operation::Commands::UsersInfo::Result
Defines custom behaviour of results when using the usersInfo command.
@since 2.1.0
Constants
- USERS
The field name for the users document in a usersInfo result.
@since 2.1.0
Public Instance Methods
documents()
click to toggle source
# File lib/mongo/operation/commands/users_info/result.rb, line 31 def documents reply.documents.first[USERS] end