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

- 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, total_count: response.headers['X-Total-Count']) + PaginatedArray.new(array, previous_page_url: prev_url, next_page_url: next_url, total_count: response.headers[:x_total_count]) end end end