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
-
#conference(conference_id, options = {}) ⇒ Object
View PCL conferences by conferenceId.
-
#conferences(options = {}) ⇒ Object
View all PCL conferences.
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, = {}) get "/conferences/#{conference_id}", end |
#conferences(options = {}) ⇒ Object
View all PCL conferences.
9 10 11 |
# File 'lib/mlb_stats_api/conferences.rb', line 9 def conferences( = {}) get '/conferences', end |