lib/RightScaleAPIHelper.rb in RightScaleAPIHelper-0.4.4 vs lib/RightScaleAPIHelper.rb in RightScaleAPIHelper-0.4.5
- old
+ new
@@ -66,10 +66,10 @@
# Do a GET request against RightScale API
def get(query, values = {})
begin
#puts "#{@api_call}#{query}#{@formatting}"
- req = Net::HTTP::Get.new("#{@full_api_call}#{query}", @headers)
+ req = Net::HTTP::Get.new("#{@full_api_call}#{query}#{@formatting}", @headers)
req.set_form_data(values)
resp = @conn.request(req)
rescue