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:



377
378
379
380
381
# File 'lib/couchbase/management/user_manager.rb', line 377

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

Instance Attribute Details

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

Returns:



374
375
376
# File 'lib/couchbase/management/user_manager.rb', line 374

def origins=(value)
  @origins = value
end