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 end
def addVideo(campaign) def addVideo(campaign)
uri = URI.parse(@addvideo_url) uri = URI.parse("#{@addvideo_url}/addVideo")
header = {} header = {}
http = Net::HTTP.new(uri.host, uri.port) http = Net::HTTP.new(uri.host, uri.port)