Sha256: c9640a0ddc4bf94cb68ee7459062711dfdf5766913aaa7186a3ecb1c4d7b4508
Contents?: true
Size: 556 Bytes
Versions: 1
Compression:
Stored size: 556 Bytes
Contents
require 'httparty' module YkCommand class Request include HTTParty # base_uri 'http://127.0.0.1:9988/' # base_uri 'http://10.30.106.143:9988/' base_uri 'http://10.30.80.113:9988' headers 'Content-Type' => 'application/json' def upload_app_dependency(project_id,data) self.class.post('/dependency/addDependency', query: { "projectId" => project_id },body: data) end def get_project_info(app_project_name) self.class.get('/project/projectByName', query: { "name" => app_project_name } ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yk_command-0.4.9 | lib/yk_command/analyze/request.rb |