lib/sportradar/api/images.rb in sportradar-api-0.10.27 vs lib/sportradar/api/images.rb in sportradar-api-0.10.28

- old
+ new

@@ -78,9 +78,10 @@ response end end alias_method :all_events, :event_manifests + alias_method :live_images, :event_manifests # The Player Images, Coach Images, Venue Images APIs aren't really meant to be used directly, the manifests return an href path of an image we can pass it into the image_url method to get the entire image url def image_url(href) href.slice!(0) if href.chars.first == '/' # remove initial '/' set_base request_url(href) + api_key_query_string