Class: Sports::Butler::Soccer
Constant Summary collapse
- ENDPOINTS =
[ :countries, :competitions, :matches, :teams, :players, :head_to_head, :lineups, :odds, :scorers, :standings, :coachs, :injuries, :predictions, :sidelineds, :statistics, :timezones, :transfers, :trophies, :venues ]
Constants inherited from Base
Base::ALIASES, Base::AVAILABLE_ENDPOINTS
Instance Attribute Summary
Attributes inherited from Base
#api_class, #api_name, #available_endpoints, #endpoints, #sport, #sport_class, #valid_configuration
Instance Method Summary collapse
-
#initialize(sport:, api_name:) ⇒ Soccer
constructor
A new instance of Soccer.
Methods inherited from Base
Constructor Details
#initialize(sport:, api_name:) ⇒ Soccer
Returns a new instance of Soccer.
30 31 32 |
# File 'lib/sports/butler/soccer.rb', line 30 def initialize(sport:, api_name:) super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sports::Butler::Base