Module: PgaLeaderboard
- Included in:
- CLI
- Defined in:
- lib/pga_leaderboard.rb,
lib/pga_leaderboard/cli.rb,
lib/pga_leaderboard/version.rb,
lib/pga_leaderboard/tournament.rb
Defined Under Namespace
Classes: CLI, Tournament
Constant Summary collapse
- ENDPOINT =
"http://sports.espn.go.com/sports/golf/bottomLineGolfLeaderboard"
- INTERVAL =
180
- VERSION =
"0.0.2"
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
9 10 11 12 13 14 |
# File 'lib/pga_leaderboard.rb', line 9 def run while true yield sleep INTERVAL end end |