Class: Couchbase::Management::Role

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/management/user_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/user_manager.rb

Direct Known Subclasses

RoleAndDescription, RoleAndOrigins

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Role.

Yield Parameters:



361
362
363
# File 'lib/couchbase/management/user_manager.rb', line 361

def initialize
  yield self if block_given?
end

Instance Attribute Details

#bucketString

Returns:

  • (String)


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

def bucket
  @bucket
end

#collectionString

Returns:

  • (String)


358
359
360
# File 'lib/couchbase/management/user_manager.rb', line 358

def collection
  @collection
end

#nameString

Returns:

  • (String)


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

def name
  @name
end

#scopeString

Returns:

  • (String)


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

def scope
  @scope
end