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.

Yield Parameters:



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

def initialize
  yield self if block_given?
end

Instance Attribute Details

#bucketString

Returns:

  • (String)


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

def bucket
  @bucket
end

#collectionString

Returns:

  • (String)


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

def collection
  @collection
end

#nameString

Returns:

  • (String)


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

def name
  @name
end

#scopeString

Returns:

  • (String)


334
335
336
# File 'lib/couchbase/management/user_manager.rb', line 334

def scope
  @scope
end