Closed Roy-Mao closed 2 years ago
Just add a few refactoring code, mainly for #send_v1method
#send_v1
add rspec test for #send_v1 method
refactor #send_v1 method
#for_uri(BASE_URI_V1, extra_headers) do end
delete unused var / constant / comment
delete attr_accessor :timeout, :api_key, :json_key_path, :project_base_uri
attr_accessor :timeout, :api_key, :json_key_path, :project_base_uri
Just add a few refactoring code, mainly for
#send_v1
methodadd rspec test for #send_v1 method
refactor #send_v1 method
#for_uri(BASE_URI_V1, extra_headers) do end
private methoddelete unused var / constant / comment
delete
attr_accessor :timeout, :api_key, :json_key_path, :project_base_uri