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.

Yields:

  • (_self)

Yield Parameters:



342
343
344
345
# File 'lib/couchbase/management/user_manager.rb', line 342

def initialize
  super
  yield self if block_given?
end

Instance Attribute Details

#descriptionString

Returns:

  • (String)


340
341
342
# File 'lib/couchbase/management/user_manager.rb', line 340

def description
  @description
end

#display_nameString

Returns:

  • (String)


337
338
339
# File 'lib/couchbase/management/user_manager.rb', line 337

def display_name
  @display_name
end