# File lib/flukso/api.rb, line 45 def wrap_response(response) # The response is an array of arrays. Convert it to UTCReadings. retval=Array.new(); response.each{|reading| current=UTCReading.new(reading[0], reading[1]); retval << current; } return retval end