Sha256: 03f728e1c36649d643f157544c4a75a3551e6a3e32094e40619fe6ff622b246c
Contents?: true
Size: 601 Bytes
Versions: 4
Compression:
Stored size: 601 Bytes
Contents
# frozen_string_literal: true module MLBStatsAPI # @see https://statsapi.mlb.com/docs/#tag/division module Divisions # There are actually far more divisions from other leagues in the API. # I don't think I'll add them until necessary. DIVISIONS = { al_east: 201, al_central: 202, al_west: 200, nl_east: 204, nl_central: 205, nl_west: 203 }.freeze # View league division directorial information. # @see https://statsapi.mlb.com/docs/#operation/divisions def divisions(options = {}) get '/divisions', options end end end
Version data entries
4 entries across 4 versions & 1 rubygems