class Sports::Butler::SoccerApi::ApiFootballCom::HeadToHead

Public Instance Methods

available_endpoint_methods() click to toggle source
# File lib/sports/butler/soccer_api/api_football_com/head_to_head.rb, line 8
def available_endpoint_methods
  [:by_teams]
end
filters_by_teams(team_id, second_team_id) click to toggle source
# File lib/sports/butler/soccer_api/api_football_com/head_to_head.rb, line 16
def filters_by_teams(team_id, second_team_id)
  { h2h: "#{team_id}-#{second_team_id}" }
end
path() click to toggle source
# File lib/sports/butler/soccer_api/api_football_com/head_to_head.rb, line 12
def path
  'fixtures/headtohead'
end