Class: Stattleship::BaseballTotalTeamStat

Inherits:
TotalTeamStat show all
Defined in:
lib/stattleship/baseball_total_team_stat.rb

Constant Summary collapse

BASEBALL_TOTAL_TEAM_STAT =
'baseball/mlb/total_stats'.freeze

Class Method Summary collapse

Methods inherited from TotalTeamStat

#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_team_stat.rb', line 5

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