Class: Couchbase::Management::UserManager::UpsertUserOptions

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

Returns a new instance of UpsertUserOptions.

Yields:

  • (_self)

Yield Parameters:

[View source]

147
148
149
150
# File 'lib/couchbase/management/user_manager.rb', line 147

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

Instance Attribute Details

#domain_name:local, :external

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

Returns:

  • (:local, :external)

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


142
143
144
# File 'lib/couchbase/management/user_manager.rb', line 142

def domain_name
  @domain_name
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


145
146
147
# File 'lib/couchbase/management/user_manager.rb', line 145

def timeout
  @timeout
end