Class: Couchbase::Management::UserAndMetadata
- Inherits:
-
User
- Object
- User
- Couchbase::Management::UserAndMetadata
show all
- 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
Attributes inherited from User
#display_name, #groups, #password, #roles, #username
Instance Method Summary
collapse
Constructor Details
Returns a new instance of UserAndMetadata.
[View source]
422
423
424
425
426
|
# File 'lib/couchbase/management/user_manager.rb', line 422
def initialize
super
@effective_roles = []
yield self if block_given?
end
|
Instance Attribute Details
#domain ⇒ :local, :external
410
411
412
|
# File 'lib/couchbase/management/user_manager.rb', line 410
def domain
@domain
end
|
413
414
415
|
# File 'lib/couchbase/management/user_manager.rb', line 413
def effective_roles
@effective_roles
end
|
#external_groups ⇒ Array<String>
419
420
421
|
# File 'lib/couchbase/management/user_manager.rb', line 419
def external_groups
@external_groups
end
|
#password_changed ⇒ Time
416
417
418
|
# File 'lib/couchbase/management/user_manager.rb', line 416
def password_changed
@password_changed
end
|