make service not require addVideo in the url, hardcode that

This commit is contained in:
Tyrel Souza 2014-05-07 16:03:10 -04:00
parent 29afdc6f4e
commit 18d1893069

View File

@ -8,7 +8,7 @@ class BetterVideo
end
def addVideo(campaign)
uri = URI.parse(@addvideo_url)
uri = URI.parse("#{@addvideo_url}/addVideo")
header = {}
http = Net::HTTP.new(uri.host, uri.port)