Class: Couchbase::Management::UserManager::GetUserOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/management/user_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ GetUserOptions

Returns a new instance of GetUserOptions.

Yield Parameters:



177
178
179
180
# File 'lib/couchbase/management/user_manager.rb', line 177

def initialize
  @domain = :local
  yield self if block_given?
end

Instance Attribute Details

#domain:local, :external

Returns Name of the user’s domain. Defaults to :local.

Returns:

  • (:local, :external)

    Name of the user’s domain. Defaults to :local



171
172
173
# File 'lib/couchbase/management/user_manager.rb', line 171

def domain
  @domain
end

#timeoutInteger

Returns the time in milliseconds allowed for the operation to complete.

Returns:

  • (Integer)

    the time in milliseconds allowed for the operation to complete



174
175
176
# File 'lib/couchbase/management/user_manager.rb', line 174

def timeout
  @timeout
end