Sha256: 4b39f583a17c07b60a905698cae7725f7f050f9cdf7fc3a3e741c92a0e83775f

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

module MLBStatsAPI
  # Only the Pacific Coast League uses conferences
  module Conferences
    # View all PCL conferences.
    def conferences(**options) = get('/conferences', **options)

    # View PCL conferences by conference ID.
    def conference(conference_id, **options) = get("/conferences/#{conference_id}", **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/conferences.rb