Class: Football::Butler::Api
Constant Summary collapse
- RETRIES =
2
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
.get(path:, filters: {}, result: :default) ⇒ Object
10 11 12 13 14 |
# File 'lib/football/butler/api.rb', line 10 def get(path:, filters: {}, result: :default) Configuration.wait_on_limit ? get_with_wait(path: path, filters: filters, result: result) : get_default(path: path, filters: filters, result: result) end |