Class: SportsApi::Football::TeamCountryResource
- Defined in:
- lib/sports_api/football/resources/teams/team_country.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/teams/team_country.rb', line 6 def list response = get_request('teams/countries') Collection.from_response(response, type: SportsApi::Football::TeamCountry) end |