lib/videojuicer/resource/collection.rb in vj-sdk-0.7.3 vs lib/videojuicer/resource/collection.rb in vj-sdk-0.7.4

- old
+ new

@@ -19,9 +19,10 @@ self.total = total self.offset = offset self.limit = limit end + #I was unsure of where to put this, please suggest other alternatives. def self.limit_from_page_number page, limit page = page.to_i return 0 if page == 1 (page - 1) * limit.to_i end \ No newline at end of file