lib/sportradar/api/images.rb in sportradar-api-0.10.54 vs lib/sportradar/api/images.rb in sportradar-api-0.10.55

- old
+ new

@@ -83,9 +83,10 @@ 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) + @live_image_request = true if href.include?('actionshots') href.slice!(0) if href.chars.first == '/' # remove initial '/' set_base request_url(href) + api_key_query_string end alias_method :player_images, :image_url alias_method :coach_images, :image_url