Class: SportsApi::Football::OddsLiveResource
- Defined in:
- lib/sports_api/football/resources/odds_in_play/odds_live.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
-
#list(**params) ⇒ Object
Arguments: fixture: [Integer](optional) - The fixture ID.
Methods inherited from Resource
Constructor Details
This class inherits a constructor from SportsApi::Resource
Instance Method Details
#list(**params) ⇒ Object
Arguments: fixture: [Integer](optional) - The fixture ID. league: [Integer](optional) - The league ID. bet: [Integer](optional) - The bet ID.
10 11 12 13 |
# File 'lib/sports_api/football/resources/odds_in_play/odds_live.rb', line 10 def list(**params) response = get_request('odds/live', params:) Collection.from_response(response, type: SportsApi::Football::OddsLive) end |