Class: Stattleship::BaseballStats

Inherits:
Stats show all
Defined in:
lib/stattleship/baseball_stats.rb

Constant Summary collapse

BASEBALL_STATS =
'baseball/mlb/stats'.freeze

Class Method Summary collapse

Methods inherited from Stats

#populate

Methods inherited from Endpoint

#data, #populate

Class Method Details

.fetch(params:) ⇒ Object


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

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