Class: Couchbase::Management::UserManager::GetUserOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::UserManager::GetUserOptions
- 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
-
#domain_name ⇒ :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.
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
.
116 117 118 |
# File 'lib/couchbase/management/user_manager.rb', line 116 def domain_name @domain_name end |
#timeout ⇒ Integer
Returns 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 |