Permalink
Browse files

add empty? check

  • Loading branch information...
theganyo committed Oct 11, 2012
1 parent ab30686 commit 6e158cb54b63244d42d39d99d87991ed228d0685
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/usergrid/core/collection.rb
@@ -59,6 +59,10 @@ def size
entities.size
end
def empty?
entities.empty?
end
def cursor
response.data.cursor || nil
end

0 comments on commit 6e158cb

Please sign in to comment.