Class: Couchbase::Management::RoleAndDescription

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

Instance Attribute Summary collapse

Attributes inherited from Role

#bucket, #collection, #name, #scope

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ RoleAndDescription

Returns a new instance of RoleAndDescription.

Yield Parameters:



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

#descriptionString

Returns:

  • (String)


371
372
373
# File 'lib/couchbase/management/user_manager.rb', line 371

def description
  @description
end

#display_nameString

Returns:

  • (String)


368
369
370
# File 'lib/couchbase/management/user_manager.rb', line 368

def display_name
  @display_name
end