Sha256: b2d4077c6a3ba5f9d64c0399273510bb8d3b7f267f0ab155e55231e336f1daae
Contents?: true
Size: 499 Bytes
Versions: 5
Compression:
Stored size: 499 Bytes
Contents
require "httparty" module HTTPService class NaviAI def self.start(filepath:, client_id: nil, client_type:, token:, email:, is_last: false) go_url = "#{ENV['parser_url']}/v2/metas" HTTParty.post(go_url, body: { client_id: client_id, client_type: client_type, list_meta_path: filepath, token: token, email: email, is_last: is_last }.to_json, timeout: 400) end def self.generate_csv(url, token) HTTParty.post(url, headers: {"Authorization": token}) end end end
Version data entries
5 entries across 5 versions & 3 rubygems