Class: Couchbase::Management::RoleAndOrigins

Inherits:
Role
  • Object
show all
Defined in:
lib/couchbase/management/user_manager.rb,
/code/couchbase-ruby-client/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| ... } ⇒ RoleAndOrigins

Returns a new instance of RoleAndOrigins.

Yield Parameters:



398
399
400
401
402
# File 'lib/couchbase/management/user_manager.rb', line 398

def initialize
  super
  @origins = []
  yield self if block_given?
end

Instance Attribute Details

#origins=(value) ⇒ Array<Origin> (writeonly)

Returns:



395
396
397
# File 'lib/couchbase/management/user_manager.rb', line 395

def origins=(value)
  @origins = value
end