lib/strava/api/endpoints/running_races.rb
#
# Returns a list running races based on a set of search criteria.
#
# @option options [Integer] :year
#   Filters the list by a given year.
#
Returns a list running races based on a set of search criteria.
Returns a list running races based on a set of search criteria .
def running_races(options = {})
          get('running_races', options).map do |row|
            Strava::Models::RunningRace.new(row)
          end
        end
def running_races ( options = { } ) get ( 'running_races' , options ) . map do | row | Strava :: Models :: RunningRace . new ( row ) end end
Returns a list running races based on a set of search criteria.
Returns a list running races based on a set of search criteria .
options
:year Filters the list by a given year.
: year Filters the list by a given year .