Method: NFL::LiveUpdate::ScoreStrip::Games.url
- Defined in:
- lib/nfl/live_update/score_strip/games.rb
.url(params = {}) ⇒ Object
52 53 54 55 56 57 |
# File 'lib/nfl/live_update/score_strip/games.rb', line 52 def url(params={}) season = params[:season] season_type = params[:season_type] week = params[:week] "#{AJAX_URL}?season=#{season}&seasonType=#{season_type}&week=#{week}" end |