Class: Stattleship::BaseballTotalPlayerStat

Inherits:
TotalPlayerStat show all
Defined in:
lib/stattleship/baseball_total_player_stat.rb

Constant Summary collapse

BASEBALL_TOTAL_PLAYER_STAT =
'baseball/mlb/total_stats'.freeze

Class Method Summary collapse

Methods inherited from TotalPlayerStat

#format_stat, #lowercase_stat, #populate, #to_sentence

Methods inherited from Endpoint

#data, #populate

Class Method Details

.fetch(params:) ⇒ Object



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

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