Class: Sports::Butler::BasketballApi::ApiBasketballCom::Teams
Instance Attribute Summary
Attributes inherited from Endpoints
Instance Method Summary collapse
Methods inherited from Teams
#available_endpoint_methods, #path
Methods inherited from Base
Methods inherited from Endpoints
#build_path, #error_missing_endpoint_method, #filters_by_competition_and_year, #filters_by_id, #filters_by_match, #filters_by_player, #filters_by_team, #initialize
Methods included from Shared::ApiComs
Methods included from Shared::AllSports
#all, #by_coach, #by_code, #by_competition, #by_competition_and_range, #by_competition_and_season, #by_competition_and_team_and_season, #by_competition_and_year, #by_country, #by_country_name, #by_id, #by_id_and_season, #by_match, #by_name, #by_player, #by_season, #by_team, #by_team_and_range, #by_team_and_season, #by_teams, #search_by_name
Constructor Details
This class inherits a constructor from Sports::Butler::Endpoints
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sports::Butler::BasketballApi::Base
Instance Method Details
#filters_by_competition(id) ⇒ Object
13 14 15 |
# File 'lib/sports/butler/basketball_api/api_basketball_com/teams.rb', line 13 def filters_by_competition(id) { league: id } end |
#filters_search_by_name(name) ⇒ Object
9 10 11 |
# File 'lib/sports/butler/basketball_api/api_basketball_com/teams.rb', line 9 def filters_search_by_name(name) { search: name } end |