class Sports::Butler::SoccerApi::ApifootballCom::Scorers

Public Instance Methods

available_endpoint_methods() click to toggle source
# File lib/sports/butler/soccer_api/apifootball_com/scorers.rb, line 8
def available_endpoint_methods
  [:by_competition]
end
build_path(action) click to toggle source
# File lib/sports/butler/soccer_api/apifootball_com/scorers.rb, line 16
def build_path(action)
  "action=#{action}"
end
filters_by_competition(id) click to toggle source
# File lib/sports/butler/soccer_api/apifootball_com/scorers.rb, line 20
def filters_by_competition(id)
  { league_id: id }
end
path() click to toggle source
# File lib/sports/butler/soccer_api/apifootball_com/scorers.rb, line 12
def path
  :get_topscorers
end