Class: SportsApi::Football::OddsMappingResource
- Defined in:
- lib/sports_api/football/resources/odds_pre_match/odds_mapping.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
-
#list(**params) ⇒ Object
Arguments: page: [Integer](optional) - Use for the pagination (default 1).
Methods inherited from Resource
Constructor Details
This class inherits a constructor from SportsApi::Resource
Instance Method Details
#list(**params) ⇒ Object
Arguments: page: [Integer](optional) - Use for the pagination (default 1).
8 9 10 11 |
# File 'lib/sports_api/football/resources/odds_pre_match/odds_mapping.rb', line 8 def list(**params) response = get_request('odds/mapping', params:) Collection.from_response(response, type: SportsApi::Football::OddsMapping) end |