Class: SportsApi::Football::LeagueSeasonResource
- Defined in:
- lib/sports_api/football/resources/leagues/league_season.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from SportsApi::Resource
Instance Method Details
#list ⇒ Object
6 7 8 9 |
# File 'lib/sports_api/football/resources/leagues/league_season.rb', line 6 def list response = get_request('leagues/seasons') Collection.from_response(response, type: SportsApi::Football::LeagueSeason) end |