Sha256: b2bb64a4da8536c914313eb105f2021e2a87549ddcb33c7ecdac89dd88a26948

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

module MLBStatsAPI
  module HomeRunDerby
    # View a home run derby object based on gamePk.
    def home_run_derby(game_pk, **options) = get("/homeRunDerby/#{game_pk}", **options)

    # View a home run derby object based on bracket.
    def home_run_derby_bracket(game_pk, **options) = get("/homeRunDerby/#{game_pk}/bracket", **options)

    # View a home run derby object based on pool.
    def home_run_derby_pool(game_pk, **options) = get("/homeRunDerby/#{game_pk}/pool", **options)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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