lib/parse_resource/query.rb in parse_resource-1.7.2 vs lib/parse_resource/query.rb in parse_resource-1.7.3
- old
+ new
@@ -21,20 +21,20 @@
def include_object(parent)
criteria[:include] = parent
self
end
- def order(attribute)
- attribute = attribute.to_sym if attribute.is_a?(String)
- criteria[:order] = attribute
- self
- end
-
- #TODO: make this work
- #def skip(skip)
- # criteria[:skip] = skip
+ # deprecating until it works
+ #def order(attribute)
+ # attribute = attribute.to_sym if attribute.is_a?(String)
+ # criteria[:order] = attribute
# self
#end
+
+ def skip(skip)
+ criteria[:skip] = skip
+ self
+ end
def count(count=1)
criteria[:count] = count
#self
all