{ list: '/GetTeamList' }
BaseRequest::RETRIES
get!
9 10 11 12 13 14 15
# File 'lib/infostrada/team_request.rb', line 9 def self.get_edition(edition_id) list = get!(URLS[:list], query: { editionid: edition_id.to_i }) list.map do |team_hash| Team.new(team_hash.merge('edition_id' => edition_id.to_i), '') end end