class Football::Butler::HeadToHead
Public Class Methods
by_match(id:)
click to toggle source
HEAD TO HEAD
# File lib/football/butler/head_to_head.rb, line 12 def by_match(id:) api_switch_method(__method__, { id: id }) end
by_teams(team_id:, second_team_id:, filters: {}, result: api_switch_result)
click to toggle source
# File lib/football/butler/head_to_head.rb, line 16 def by_teams(team_id:, second_team_id:, filters: {}, result: api_switch_result) api_switch_method(__method__, { team_id: team_id, second_team_id: second_team_id, filters: filters, result: result } ) end