Class: Sports::Butler::Basketball

Inherits:
Base
  • Object
show all
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

Methods inherited from Base

#method_missing

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