Class: Couchbase::Management::ScopeSpec
- Inherits:
-
Object
- Object
- Couchbase::Management::ScopeSpec
- Defined in:
- lib/couchbase/management/collection_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/collection_manager.rb more...
Instance Attribute Summary collapse
-
#collections ⇒ Array<CollectionSpec>
List of collections associated with the scope.
-
#name ⇒ String
Name of the scope.
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ ScopeSpec
constructor
A new instance of ScopeSpec.
Constructor Details
#initialize {|self| ... } ⇒ ScopeSpec
Returns a new instance of ScopeSpec.
446 447 448 |
# File 'lib/couchbase/management/collection_manager.rb', line 446 def initialize yield self if block_given? end |
Instance Attribute Details
#collections ⇒ Array<CollectionSpec>
Returns list of collections associated with the scope.
443 444 445 |
# File 'lib/couchbase/management/collection_manager.rb', line 443 def collections @collections end |
#name ⇒ String
Returns name of the scope.
440 441 442 |
# File 'lib/couchbase/management/collection_manager.rb', line 440 def name @name end |