Class: Couchbase::Management::Options::User::GetAllUsers

Inherits:
Options::Base
  • Object
show all
Defined in:
lib/couchbase/management/user_manager.rb

Overview

Instance Attribute Summary collapse

Attributes inherited from Options::Base

#client_context, #parent_span, #retry_strategy, #timeout

Instance Method Summary collapse

Methods inherited from Options::Base

#to_backend

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

Yield Parameters:



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



54
55
56
# File 'lib/couchbase/management/user_manager.rb', line 54

def domain
  @domain
end