lib/strava/api/endpoints/running_races.rb in strava-ruby-client-0.4.3 vs lib/strava/api/endpoints/running_races.rb in strava-ruby-client-1.0.0
- old
+ new
@@ -12,21 +12,9 @@
#
def running_race(id_or_options, options = {})
id, options = parse_args(id_or_options, options)
Strava::Models::RunningRace.new(get("running_races/#{id}", options))
end
-
- #
- # Returns a list running races based on a set of search criteria.
- #
- # @option options [Integer] :year
- # Filters the list by a given year.
- #
- def running_races(options = {})
- get('running_races', options).map do |row|
- Strava::Models::RunningRace.new(row)
- end
- end
end
end
end
end