Class: Couchbase::Management::RoleAndDescription
- 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 Role
#bucket, #collection, #name, #scope
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ RoleAndDescription
constructor
A new instance of RoleAndDescription.
Constructor Details
#initialize {|self| ... } ⇒ RoleAndDescription
Returns a new instance of RoleAndDescription.
374 375 376 377 |
# File 'lib/couchbase/management/user_manager.rb', line 374 def initialize super yield self if block_given? end |
Instance Attribute Details
#description ⇒ String
371 372 373 |
# File 'lib/couchbase/management/user_manager.rb', line 371 def description @description end |
#display_name ⇒ String
368 369 370 |
# File 'lib/couchbase/management/user_manager.rb', line 368 def display_name @display_name end |