Class: Stattleship::BaseballTeams

Inherits:
Teams show all
Defined in:
lib/stattleship/baseball_teams.rb

Constant Summary collapse

BASEBALL_TEAMS =
'baseball/mlb/teams'.freeze

Class Method Summary collapse

Methods inherited from Teams

#populate

Methods inherited from Endpoint

#data, #populate

Class Method Details

.fetch(params:) ⇒ Object


5
6
7
8
# File 'lib/stattleship/baseball_teams.rb', line 5

def self.fetch(params:)
  super(path: BASEBALL_TEAMS,
        params: params)
end