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 conferenceId.



15
16
17
# File 'lib/mlb_stats_api/conferences.rb', line 15

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

#conferences(options = {}) ⇒ Object

View all PCL conferences.



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

def conferences(options = {})
  get '/conferences', options
end