Permalink
Browse files

Fix 'ItemList.next' method (use client.access_token as request proxy)

  • Loading branch information...
1 parent 57511fb commit 85cb82aa29eb28600bd989bde29b4efce189e360 Gustavo Machado Campagnani Gama committed Dec 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/google-reader/item-list.rb
@@ -42,7 +42,7 @@ def next?
# fetch next batch of items, if available
def next(params = {})
next? or return nil
- resp = @client.get(merge_query_string(@url, params.merge({:continuation => @continuation})))
+ resp = @client.access_token.get(merge_query_string(@url, params.merge({:continuation => @continuation})))
self.class.new(@client, resp.body)
end
alias :more :next

0 comments on commit 85cb82a

Please sign in to comment.