lib/api_taster/route.rb in api_taster-0.8.3 vs lib/api_taster/route.rb in api_taster-0.8.4
- old
+ new
@@ -7,9 +7,10 @@
cattr_accessor :obsolete_definitions
cattr_accessor :comments
cattr_accessor :metadata
class << self
+
def map_routes(path = ApiTaster.route_path)
self.route_set = Rails.application.routes
self.supplied_params = {}
self.obsolete_definitions = []
self.comments = {}