Class: Couchbase::Management::RoleAndDescription
- 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 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.
372 373 374 375 |
# File 'lib/couchbase/management/user_manager.rb', line 372 def initialize super yield self if block_given? end |
Instance Attribute Details
#description ⇒ String
369 370 371 |
# File 'lib/couchbase/management/user_manager.rb', line 369 def description @description end |
#display_name ⇒ String
366 367 368 |
# File 'lib/couchbase/management/user_manager.rb', line 366 def display_name @display_name end |