class Football::Butler::Scorers

Public Class Methods

by_competition(id:, result: api_switch_result, filters: {}) click to toggle source

SCORER

# File lib/football/butler/scorers.rb, line 12
def by_competition(id:, result: api_switch_result, filters: {})
  api_switch_method(__method__, { id: id, result: result, filters: filters })
end
by_competition_and_year(id:, year:, result: api_switch_result, filters: {}) click to toggle source
# File lib/football/butler/scorers.rb, line 16
def by_competition_and_year(id:, year:, result: api_switch_result, filters: {})
  api_switch_method(__method__, { id: id, year: year, result: result, filters: filters })
end