lib/ny-times/congress/base.rb
# Builds a request URI to call the API server
Builds a request URI to call the API server
Builds a request URI to call the API server
def build_request_url(path, params)
					URI::HTTP.build :host => API_SERVER,
													:path => "#{API_BASE}/#{path}",
													:query => params.map {|k,v| "#{k}=#{v}"}.join('&')
				end
def build_request_url ( path , params ) URI :: HTTP . build :host => API_SERVER , :path => "#{API_BASE}/#{path}" , :query => params . map { | k , v | "#{k}=#{v}" } . join ( '&' ) end
Builds a request URI to call the API server
Builds a request URI to call the API server
path
<not_specific>
params
<not_specific>