Module: MLBStatsAPI::Conferences

Included in:
Client
Defined in:
lib/mlb_stats_api/conferences.rb

Overview

Only the Pacific Coast League uses conferences

Instance Method Summary collapse

Instance Method Details

#conference(conference_id, **options) ⇒ Object

View PCL conferences by conference ID.



10
# File 'lib/mlb_stats_api/conferences.rb', line 10

def conference(conference_id, **options) = get("/conferences/#{conference_id}", **options)

#conferences(**options) ⇒ Object

View all PCL conferences.



7
# File 'lib/mlb_stats_api/conferences.rb', line 7

def conferences(**options) = get('/conferences', **options)