Class: SoccersApi::LiveScore
- Inherits:
-
Object
- Object
- SoccersApi::LiveScore
- Defined in:
- lib/soccers_api/live_score.rb
Constant Summary collapse
- LIVE_SCORE =
'livescores'.freeze
Class Method Summary collapse
- .ended ⇒ Object
- .live ⇒ Object
- .not_started ⇒ Object
- .today ⇒ Object
- .tomorrow ⇒ Object
- .yesterday ⇒ Object
Class Method Details
.ended ⇒ Object
42 43 44 45 46 47 |
# File 'lib/soccers_api/live_score.rb', line 42 def ended SoccersApi.api_url( api_for: LIVE_SCORE, type: "ended" ) end |
.live ⇒ Object
35 36 37 38 39 40 |
# File 'lib/soccers_api/live_score.rb', line 35 def live SoccersApi.api_url( api_for: LIVE_SCORE, type: "live" ) end |
.not_started ⇒ Object
28 29 30 31 32 33 |
# File 'lib/soccers_api/live_score.rb', line 28 def not_started SoccersApi.api_url( api_for: LIVE_SCORE, type: "notstarted" ) end |
.today ⇒ Object
7 8 9 10 11 12 |
# File 'lib/soccers_api/live_score.rb', line 7 def today SoccersApi.api_url( api_for: LIVE_SCORE, type: "today" ) end |
.tomorrow ⇒ Object
14 15 16 17 18 19 |
# File 'lib/soccers_api/live_score.rb', line 14 def tomorrow SoccersApi.api_url( api_for: LIVE_SCORE, type: "tomorrow" ) end |
.yesterday ⇒ Object
21 22 23 24 25 26 |
# File 'lib/soccers_api/live_score.rb', line 21 def yesterday SoccersApi.api_url( api_for: LIVE_SCORE, type: "yesterday" ) end |