class Football::Butler::Players
Public Class Methods
by_id(id:)
click to toggle source
PLAYER
# File lib/football/butler/players.rb, line 12 def by_id(id:) api_switch_method(__method__, { id: id }) end
by_id_and_season(id:, season:, result: api_switch_result, filters: {})
click to toggle source
# File lib/football/butler/players.rb, line 20 def by_id_and_season(id:, season:, result: api_switch_result, filters: {}) api_switch_method(__method__, { id: id, season: season, result: result, filters: filters }) end
by_name(name:, result: api_switch_result)
click to toggle source
# File lib/football/butler/players.rb, line 16 def by_name(name:, result: api_switch_result) api_switch_method(__method__, { name: name, result: result }) end