class Football::Butler::Injuries

Public Class Methods

by_competition_and_season(competition:, season:, result: api_switch_result, filters: {}) click to toggle source

INJURIES

# File lib/football/butler/injuries.rb, line 11
def by_competition_and_season(competition:, season:, result: api_switch_result, filters: {})
  api_switch_method(__method__, {
    competition: competition, season: season, result: result, filters: filters
  })
end
by_match(match:, result: api_switch_result, filters: {}) click to toggle source
# File lib/football/butler/injuries.rb, line 17
def by_match(match:, result: api_switch_result, filters: {})
  api_switch_method(__method__, {
    match: match, result: result, filters: filters
  })
end
by_team_and_season(team:, season:, result: api_switch_result, filters: {}) click to toggle source
# File lib/football/butler/injuries.rb, line 23
def by_team_and_season(team:, season:, result: api_switch_result, filters: {})
  api_switch_method(__method__, {
    team: team, season: season, result: result, filters: filters
  })
end