Class: Couchbase::Management::RoleAndOrigins

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



396
397
398
399
400
# File 'lib/couchbase/management/user_manager.rb', line 396

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

Instance Attribute Details

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

Returns:



393
394
395
# File 'lib/couchbase/management/user_manager.rb', line 393

def origins=(value)
  @origins = value
end