RailsRoutesApiEngine
Exposes your Rails app's routes via an API endpoint
Installation
Add this line to your application's Gemfile:
gem 'rails_routes_api_engine'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails_routes_api_engine
Mount the engine by adding it to your routes file
Rails.application.routes.draw do
mount RailsRoutesApiEngine::Engine => "/rails_routes_api_engine"
end
Contributing
Contribution directions go here.
License
The gem is available as open source under the terms of the MIT License.