lib/client.rb in navi_client-1.0.8 vs lib/client.rb in navi_client-1.1.0
- old
+ new
@@ -84,22 +84,9 @@
end
end
end
end
- def send_request(in_filenames = [])
- download_path = config['download_path']
- filename = download_path + "inputs/" + (Time.now.to_f * 1000).to_s
-
- mkdir_if_not_exist(filename)
-
- File.open(filename, 'w') do |f|
- in_filenames.each { |element| f.puts(element) }
- end
-
- HTTPService::NaviAI.start(filename, @client_type, @token)
- end
-
def process_email(mail)
meta = Hash.new
custom_uid = (Time.now.to_f * 1000).to_s + "_" + mail.__id__.to_s
meta["from"] = mail.from.first