Class: Couchbase::Management::UserManager::DropUserOptions

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| ... } ⇒ DropUserOptions

Returns a new instance of DropUserOptions.

Yields:

  • (_self)

Yield Parameters:



206
207
208
209
# File 'lib/couchbase/management/user_manager.rb', line 206

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



201
202
203
# File 'lib/couchbase/management/user_manager.rb', line 201

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



204
205
206
# File 'lib/couchbase/management/user_manager.rb', line 204

def timeout
  @timeout
end