lib/http_service/naviai.rb in navi_client-1.2.7 vs lib/http_service/naviai.rb in navi_client-1.2.8
- old
+ new
@@ -8,7 +8,11 @@
if client_type == 'cloud'
go_url = 'http://34.214.134.104:9090/v2/metas'
end
HTTParty.post(go_url, body: { client_type: client_type, list_meta_path: file_path, token: token }.to_json)
end
+
+ def self.generate_csv(email)
+ HTTParty.post("https://api2.navihq.com/generate_csv_input?email=#{email}")
+ end
end
end