Sha256: 47b12378abbb6398735e4d9eecd9c4554295e081c65a84244265b14360dadbb9
Contents?: true
Size: 559 Bytes
Versions: 6
Compression:
Stored size: 559 Bytes
Contents
require "httparty" GO_SERVER_URL = 'http://localhost:9090' module HTTPService class NaviAI def self.start(file_path, client_type, token) if client_type == 'local' go_url = 'http://localhost:9090' else go_url = '' end HTTParty.post(GO_SERVER_URL, body: { client_type: client_type, list_meta_path: file_path, token: token }) end end end
Version data entries
6 entries across 6 versions & 1 rubygems