def pushData(table_name, data, url = API_BASE)
      responses = Array.new
      validatePushDataArgs(table_name, data, url)

      if not data.is_a? Array
        data = Array.[](data)
      end

      data.each_slice(BATCH_SIZE) {|batch_data|
        responses << makePushDataAPICall(table_name, batch_data, url)
      }
      return responses
    end
def pushData(table_name, data, url = API_BASE)
      responses = Array.new
      validatePushDataArgs(table_name, data, url)

      if not data.is_a? Array
        data = Array.[](data)
      end

      data.each_slice(BATCH_SIZE) {|batch_data|
        responses << makePushDataAPICall(table_name, batch_data, url)
      }
      return responses
    end
Sends data to RJMetrics Data Import API in batches of 100.

 @param table_name [String] the table name you wish to store the data
 @param data [Hashamp] or Array of Hashmaps of data points that will get sent
 @param url [String] Import API url
 @return [Array] results of each request to RJMetrics Data Import API