Class: Couchbase::Management::UserManager::UpsertUserOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::UserManager::UpsertUserOptions
- Defined in:
- 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| ... } ⇒ UpsertUserOptions
constructor
A new instance of UpsertUserOptions.
Constructor Details
#initialize {|self| ... } ⇒ UpsertUserOptions
Returns a new instance of UpsertUserOptions.
207 208 209 210 |
# File 'lib/couchbase/management/user_manager.rb', line 207 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
.
201 202 203 |
# File 'lib/couchbase/management/user_manager.rb', line 201 def domain @domain end |
#timeout ⇒ Integer
Returns 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 |