Class: Couchbase::Management::UserManager::GetUserOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::UserManager::GetUserOptions
- Defined in:
- lib/couchbase/management/user_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/user_manager.rb
Instance Attribute Summary collapse
-
#domain ⇒ :local, :external
Name of the user’s domain.
-
#timeout ⇒ Integer
The time in milliseconds allowed for the operation to complete.
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ GetUserOptions
constructor
A new instance of GetUserOptions.
Constructor Details
#initialize {|self| ... } ⇒ GetUserOptions
Returns a new instance of GetUserOptions.
179 180 181 182 |
# File 'lib/couchbase/management/user_manager.rb', line 179 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
.
173 174 175 |
# File 'lib/couchbase/management/user_manager.rb', line 173 def domain @domain end |
#timeout ⇒ Integer
Returns the time in milliseconds allowed for the operation to complete.
176 177 178 |
# File 'lib/couchbase/management/user_manager.rb', line 176 def timeout @timeout end |