lib/contentful/sync.rb in contentful-0.3.4 vs lib/contentful/sync.rb in contentful-0.3.5

- old
+ new

@@ -30,11 +30,11 @@ get(@first_page_options_or_url) end # Returns false as long as last sync page has not been reached def completed? - !! next_sync_url + !!next_sync_url end # Directly iterates over all resources that have changed def each_item(&block) each_page do |page| @@ -55,18 +55,16 @@ update_sync_state_from! page page end - private def link_page_to_sync!(page) page.instance_variable_set :@sync, self end def update_sync_state_from!(page) @next_sync_url = page.next_sync_url end - end end