Class: Couchbase::Management::RoleAndDescription

Inherits:
Role
  • Object
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 Role

#bucket, #collection, #name, #scope

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RoleAndDescription.

Yield Parameters:

[View source]

353
354
355
356
# File 'lib/couchbase/management/user_manager.rb', line 353

def initialize
  super
  yield self if block_given?
end

Instance Attribute Details

#descriptionString

Returns:

  • (String)

350
351
352
# File 'lib/couchbase/management/user_manager.rb', line 350

def description
  @description
end

#display_nameString

Returns:

  • (String)

347
348
349
# File 'lib/couchbase/management/user_manager.rb', line 347

def display_name
  @display_name
end