class SoccersApi::Round

Constants

ROUND

Public Class Methods

by_id(id) click to toggle source
# File lib/soccers_api/round.rb, line 7
def by_id(id)
  SoccersApi.api_url(
    api_for: ROUND,
    type: "info",
    id_type: 'id',
    id: id
  )
end
by_season(season_id) click to toggle source
# File lib/soccers_api/round.rb, line 16
def by_season(season_id)
  SoccersApi.api_url(
    api_for: ROUND,
    type: "byseason",
    id_type: 'season_id',
    id: season_id
  )
end