Class: Stattleship::BaseballPlayers

Inherits:
Players show all
Defined in:
lib/stattleship/baseball_players.rb

Constant Summary collapse

BASEBALL_PLAYERS =
'baseball/mlb/players'.freeze

Class Method Summary collapse

Methods inherited from Players

#populate

Methods inherited from Endpoint

#data, #populate

Class Method Details

.fetch(params:) ⇒ Object


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

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