Class: Couchbase::Management::Role

Inherits:
Object
  • Object
show all
Defined in:
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.

Yields:

  • (_self)

Yield Parameters:



330
331
332
# File 'lib/couchbase/management/user_manager.rb', line 330

def initialize
  yield self if block_given?
end

Instance Attribute Details

#bucketString

Returns:

  • (String)


322
323
324
# File 'lib/couchbase/management/user_manager.rb', line 322

def bucket
  @bucket
end

#collectionString

Returns:

  • (String)


328
329
330
# File 'lib/couchbase/management/user_manager.rb', line 328

def collection
  @collection
end

#nameString

Returns:

  • (String)


319
320
321
# File 'lib/couchbase/management/user_manager.rb', line 319

def name
  @name
end

#scopeString

Returns:

  • (String)


325
326
327
# File 'lib/couchbase/management/user_manager.rb', line 325

def scope
  @scope
end