Module: SwaggerYard::Rails::RouteInspector

Defined in:
lib/swagger_yard/rails/route_inspector.rb

Defined Under Namespace

Classes: Error, JourneyRoutes

Class Method Summary collapse

Class Method Details

.discovery_functionObject



4
5
6
# File 'lib/swagger_yard/rails/route_inspector.rb', line 4

def self.discovery_function
  JourneyRoutes.new(::Rails.application.routes.set)
end