lib/restful_resource/base.rb in restful_resource-0.8.30 vs lib/restful_resource/base.rb in restful_resource-0.8.32

- old
+ new

@@ -137,9 +137,9 @@ prev_url = links.find_link(['rel', 'prev']).try(:href) next_url = links.find_link(['rel', 'next']).try(:href) array = parse_json(response.body).map { |attributes| self.new(attributes) } - PaginatedArray.new(array, previous_page_url: prev_url, next_page_url: next_url) + PaginatedArray.new(array, previous_page_url: prev_url, next_page_url: next_url, total_count: response.headers['X-Total-Count']) end end end