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

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/management/user_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/user_manager.rb
more...

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]

193
194
195
196
# File 'lib/couchbase/management/user_manager.rb', line 193

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


188
189
190
# File 'lib/couchbase/management/user_manager.rb', line 188

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


191
192
193
# File 'lib/couchbase/management/user_manager.rb', line 191

def timeout
  @timeout
end