lib/sportradar/api/soccer/tournament.rb in sportradar-api-0.9.2 vs lib/sportradar/api/soccer/tournament.rb in sportradar-api-0.9.3

- old
+ new

@@ -10,10 +10,10 @@ @season_start = data["season_start"] @season_end = data["season_end"] @season = data["season"] @reference_id = data["reference_id"] @coverage = OpenStruct.new data["coverage"] if data["coverage"] - @teams = parse_into_array(selector: response["teams"], klass: Sportradar::Api::Soccer::Team) if response["teams"] + @teams = parse_into_array(selector: response["team"], klass: Sportradar::Api::Soccer::Team) if response["team"] end end end end