Module: Sportradar::Api::Soccer
- Defined in:
- lib/sportradar/api/soccer.rb,
lib/sportradar/api/soccer/api.rb,
lib/sportradar/api/soccer/fact.rb,
lib/sportradar/api/soccer/team.rb,
lib/sportradar/api/soccer/event.rb,
lib/sportradar/api/soccer/group.rb,
lib/sportradar/api/soccer/match.rb,
lib/sportradar/api/soccer/venue.rb,
lib/sportradar/api/soccer/lineup.rb,
lib/sportradar/api/soccer/player.rb,
lib/sportradar/api/soccer/season.rb,
lib/sportradar/api/soccer/scoring.rb,
lib/sportradar/api/soccer/standing.rb,
lib/sportradar/api/soccer/team_group.rb,
lib/sportradar/api/soccer/tournament.rb
Defined Under Namespace
Classes: Api, Event, Fact, Group, Lineup, Match, Player, Scoring, Season, Standing, Team, TeamGroup, Tournament, Venue
Class Method Summary collapse
Class Method Details
.parse_results(arr) ⇒ Object
20 21 22 |
# File 'lib/sportradar/api/soccer.rb', line 20 def self.parse_results(arr) arr.map { |hash| hash["sport_event"].merge(hash["sport_event_status"]) } end |