lib/couchbase/bucket.rb in couchbase-3.2.0 vs lib/couchbase/bucket.rb in couchbase-3.3.0

- old
+ new

@@ -36,11 +36,11 @@ # Get default scope # # @return [Scope] def default_scope - Scope.new(@backend, @name, :_default) + Scope.new(@backend, @name, "_default") end # Get a named scope # # @param [String] scope_name name of the scope @@ -61,10 +61,10 @@ # Opens the default collection for this bucket # # @return [Collection] def default_collection - Collection.new(@backend, @name, :_default, :_default) + Collection.new(@backend, @name, "_default", "_default") end # Performs query to view index. # # @param [String] design_document_name name of the design document