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

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

Returns a new instance of GetUserOptions.

Yields:

  • (_self)

Yield Parameters:

[View source]

121
122
123
124
# File 'lib/couchbase/management/user_manager.rb', line 121

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


116
117
118
# File 'lib/couchbase/management/user_manager.rb', line 116

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


119
120
121
# File 'lib/couchbase/management/user_manager.rb', line 119

def timeout
  @timeout
end