Class: Sports::Butler::Basketball
- Defined in:
- lib/sports/butler/basketball.rb
Constant Summary collapse
- ENDPOINTS =
[ :countries, :competitions, :matches, :odds, :seasons, :standings, :statistics, :teams, :timezones ]
Constants inherited from Base
Sports::Butler::Base::ALIASES, Sports::Butler::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:) ⇒ Basketball
constructor
A new instance of Basketball.
Methods inherited from Base
Constructor Details
#initialize(sport:, api_name:) ⇒ Basketball
Returns a new instance of Basketball.
20 21 22 |
# File 'lib/sports/butler/basketball.rb', line 20 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