Class: Couchbase::Management::RoleAndOrigins
- Defined in:
- lib/couchbase/management/user_manager.rb
Instance Attribute Summary collapse
- #origins ⇒ Array<Origin> writeonly
Attributes inherited from Role
#bucket, #collection, #name, #scope
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ RoleAndOrigins
constructor
A new instance of RoleAndOrigins.
Constructor Details
#initialize {|self| ... } ⇒ RoleAndOrigins
Returns a new instance of RoleAndOrigins.
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)
395 396 397 |
# File 'lib/couchbase/management/user_manager.rb', line 395 def origins=(value) @origins = value end |