Class: Stattleship::BaseballTopStats

Inherits:
TopStats show all
Defined in:
lib/stattleship/baseball_top_stats.rb

Constant Summary collapse

BASEBALL_TOP_STATS =
'baseball/mlb/top_stats'.freeze

Class Method Summary collapse

Methods inherited from TopStats

#populate

Methods inherited from Endpoint

#data, #populate

Class Method Details

.fetch(params:) ⇒ Object



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

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