Class: Stattleship::BaseballPenalties

Inherits:
Penalties show all
Defined in:
lib/stattleship/baseball_penalties.rb

Constant Summary collapse

BASEBALL_PENALTIES =
'baseball/mlb/penalties'.freeze

Class Method Summary collapse

Methods inherited from Penalties

#populate

Methods inherited from Endpoint

#data, #populate

Class Method Details

.fetch(params:) ⇒ Object


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

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