lib/sportradar/api/images.rb in sportradar-api-0.12.3 vs lib/sportradar/api/images.rb in sportradar-api-0.13.0

- old
+ new

@@ -9,10 +9,10 @@ raise Sportradar::Api::Error::InvalidLeague unless soccer_leagues.include?(league) || league.nil? @league = league @nfl_premium = nfl_premium @usat_premium = usat_premium @event_id = event_id - @date = date.strftime("%Y/%m/%d") if date.present? + @date = date.strftime("%Y/%m/%d") if date raise Sportradar::Api::Error::InvalidAccessLevel unless allowed_access_levels.include? access_level @access_level = access_level end def player_manifests(year = Date.today.year)