Sha256: 3609782dc8580357ea5f03a06352740e4cd9d4ddd8aee60ae055f7a6a76720ee

Contents?: true

Size: 753 Bytes

Versions: 1

Compression:

Stored size: 753 Bytes

Contents

# frozen_string_literal: true

module MLBStatsAPI
  # These methods all return lists of possible values
  module Config
    def game_status = get('/gameStatus')

    def baseball_stats = get('/baseballStats')

    def game_types = get('/gameTypes')

    def languages = get('/languages')

    def league_leader_types = get('/leagueLeaderTypes')

    def metrics = get('/metrics')

    def platforms = get('/platforms')

    def positions = get('/positions')

    def roster_types = get('/rosterTypes')

    def schedule_event_types = get('/scheduleEventTypes')

    def situation_codes = get('/situationCodes')

    def standings_types = get('/standingsTypes')

    def stat_groups = get('/statGroups')

    def stat_types = get('/statTypes')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mlb_stats_api-0.4.0 lib/mlb_stats_api/config.rb