lib/recurly/pager.rb in recurly-3.0.0.beta.4 vs lib/recurly/pager.rb in recurly-3.0.0.beta.5

- old
+ new

@@ -70,14 +70,14 @@ end private def from_json(data) - @data = data['data'].map do |resource_data| + @data = data["data"].map do |resource_data| JSONParser.from_json(resource_data) end - @next = data['next'] - @has_more = data['has_more'] + @next = data["next"] + @has_more = data["has_more"] end def item_enumerator Enumerator.new do |yielder| page_enumerator.each do |data|