lib/strava/api/endpoints/routes.rb in strava-ruby-client-0.4.3 vs lib/strava/api/endpoints/routes.rb in strava-ruby-client-1.0.0

- old
+ new

@@ -10,21 +10,21 @@ # @option options [String] :id # Route id. # def export_route_gpx(id_or_options, options = {}) id, options = parse_args(id_or_options, options) - get "routes/#{id}/export_gpx", options + get("routes/#{id}/export_gpx", options).response end # # Returns a TCS file of the route. # # @option options [String] :id # Route id. # def export_route_tcx(id_or_options, options = {}) id, options = parse_args(id_or_options, options) - get "routes/#{id}/export_tcx", options + get("routes/#{id}/export_tcx", options).response end # # Returns a route using its identifier. #