Class: Football::Butler::Predictions
- Defined in:
- lib/football/butler/predictions.rb
Constant Summary
Constants inherited from Base
Class Method Summary collapse
Methods inherited from Base
api_class, api_switch, api_switch_method, api_switch_result, error_message, invalid_config_result, not_found_result, reached_limit?, this_class, unsupported_api_call, unsupported_api_endpoint
Class Method Details
.by_match(id:, filters: {}, result: api_switch_result) ⇒ Object
PREDICTIONS
11 12 13 |
# File 'lib/football/butler/predictions.rb', line 11 def by_match(id:, filters: {}, result: api_switch_result) api_switch_method(__method__, { id: id, filters: filters, result: result }) end |