lib/scrivito/obj_collection.rb in scrivito_sdk-1.0.0 vs lib/scrivito/obj_collection.rb in scrivito_sdk-1.1.0.rc1
- old
+ new
@@ -83,10 +83,10 @@
# Returns an {ObjSearchEnumerator} of all {BasicObj Obj}s.
# @return [ObjSearchEnumerator]
# @api public
def all
- ObjSearchEnumerator.new(workspace).batch_size(1000)
+ ObjSearchEnumerator.new(workspace, 1000)
end
# Returns an {ObjSearchEnumerator} of all {BasicObj Obj}s with the given +obj_class+.
# @param [String] obj_class name of the object class.
# @return [ObjSearchEnumerator]