Class: Couchbase::Management::Role
- Inherits:
-
Object
- Object
- Couchbase::Management::Role
show all
- Defined in:
- lib/couchbase/management/user_manager.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/management/user_manager.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize {|self| ... } ⇒ Role
Returns a new instance of Role.
530
531
532
|
# File 'lib/couchbase/management/user_manager.rb', line 530
def initialize
yield self if block_given?
end
|
Instance Attribute Details
#bucket ⇒ String
521
522
523
|
# File 'lib/couchbase/management/user_manager.rb', line 521
def bucket
@bucket
end
|
#collection ⇒ String
527
528
529
|
# File 'lib/couchbase/management/user_manager.rb', line 527
def collection
@collection
end
|
#name ⇒ String
518
519
520
|
# File 'lib/couchbase/management/user_manager.rb', line 518
def name
@name
end
|
#scope ⇒ String
524
525
526
|
# File 'lib/couchbase/management/user_manager.rb', line 524
def scope
@scope
end
|