lib/azure/armrest/insights/event_service.rb in azure-armrest-0.2.3 vs lib/azure/armrest/insights/event_service.rb in azure-armrest-0.2.4
- old
+ new
@@ -57,14 +57,14 @@
json_response['value'].map do |hash|
Azure::Armrest::Insights::Event.new(hash)
end
)
- events.skip_token = parse_skip_token(json_response)
+ events.continuation_token = parse_skip_token(json_response)
- if options[:all] && events.skip_token
- events.push(*list(options.merge(:skip_token => events.skip_token)))
- events.skip_token = nil # Clear when finished
+ if options[:all] && events.continuation_token
+ events.push(*list(options.merge(:skip_token => events.continuation_token)))
+ events.continuation_token = nil # Clear when finished
end
events
end