class SoccersApi::LiveScore

Constants

LIVE_SCORE

Public Class Methods

ended() click to toggle source
# File lib/soccers_api/live_score.rb, line 42
def ended
  SoccersApi.api_url(
    api_for: LIVE_SCORE,
    type: "ended"
  )
end
live() click to toggle source
# File lib/soccers_api/live_score.rb, line 35
def live
  SoccersApi.api_url(
    api_for: LIVE_SCORE,
    type: "live"
  )
end
not_started() click to toggle source
# File lib/soccers_api/live_score.rb, line 28
def not_started
  SoccersApi.api_url(
    api_for: LIVE_SCORE,
    type: "notstarted"
  )
end
today() click to toggle source
# File lib/soccers_api/live_score.rb, line 7
def today
  SoccersApi.api_url(
    api_for: LIVE_SCORE,
    type: "today"
  )
end
tomorrow() click to toggle source
# File lib/soccers_api/live_score.rb, line 14
def tomorrow
  SoccersApi.api_url(
    api_for: LIVE_SCORE,
    type: "tomorrow"
  )
end
yesterday() click to toggle source
# File lib/soccers_api/live_score.rb, line 21
def yesterday
  SoccersApi.api_url(
    api_for: LIVE_SCORE,
    type: "yesterday"
  )
end