Class: Couchbase::Management::Options::User::GetAllUsers
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::User::GetAllUsers
- Defined in:
- lib/couchbase/management/user_manager.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/management/user_manager.rb
Overview
Options for UserManager#get_all_users
Instance Attribute Summary collapse
-
#domain ⇒ :local, :external
Name of the user’s domain.
Attributes inherited from Options::Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(domain: :local, timeout: nil, retry_strategy: nil, parent_span: nil) {|self| ... } ⇒ GetAllUsers
constructor
Creates an instance of options for UserManager#get_all_users.
Constructor Details
#initialize(domain: :local, timeout: nil, retry_strategy: nil, parent_span: nil) {|self| ... } ⇒ GetAllUsers
Creates an instance of options for UserManager#get_all_users
63 64 65 66 67 68 69 70 |
# File 'lib/couchbase/management/user_manager.rb', line 63 def initialize(domain: :local, timeout: nil, retry_strategy: nil, parent_span: nil) super(timeout: timeout, retry_strategy: retry_strategy, parent_span: parent_span) @domain = domain yield self if block_given? end |
Instance Attribute Details
#domain ⇒ :local, :external
Returns Name of the user’s domain. Defaults to :local.
54 55 56 |
# File 'lib/couchbase/management/user_manager.rb', line 54 def domain @domain end |