Class: Couchbase::Management::UserAndMetadata
- Inherits:
-
User
- Object
- User
- Couchbase::Management::UserAndMetadata
show all
- Defined in:
- lib/couchbase/management/user_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/user_manager.rb
Instance Attribute Summary collapse
Attributes inherited from User
#display_name, #groups, #password, #roles, #username
Instance Method Summary
collapse
Constructor Details
Returns a new instance of UserAndMetadata.
443
444
445
446
447
|
# File 'lib/couchbase/management/user_manager.rb', line 443
def initialize
super
@effective_roles = []
yield self if block_given?
end
|
Instance Attribute Details
#domain ⇒ :local, :external
431
432
433
|
# File 'lib/couchbase/management/user_manager.rb', line 431
def domain
@domain
end
|
434
435
436
|
# File 'lib/couchbase/management/user_manager.rb', line 434
def effective_roles
@effective_roles
end
|
#external_groups ⇒ Array<String>
440
441
442
|
# File 'lib/couchbase/management/user_manager.rb', line 440
def external_groups
@external_groups
end
|
#password_changed ⇒ Time
437
438
439
|
# File 'lib/couchbase/management/user_manager.rb', line 437
def password_changed
@password_changed
end
|