2014-02-12 28 views
1

我正在使用stubhub API,並希望使用爲每個事件對象返回的image_url屬性。目前,該API返回一個字符串,它看起來像這樣的圖像:Stubhub API映像網址

"stubhub_472291_MortonMeyerson_Concert.png" 

我希望能夠讓我爲每個圖像的正確URL插值這在我的Rails應用程序。

回答

0
"http://www.stubhub.com/data/venue_maps/#{event.geography_parent}/#{event.image_url}"