Sha256: 6352f3ef3c2a2bf8190653b1f341badd85890cf1597d03d9d6efe4f290abffb7
Contents?: true
Size: 331 Bytes
Versions: 7
Compression:
Stored size: 331 Bytes
Contents
unless defined?(Rails) desc "display all routes for Grape" task :routes do ApplicationApi.routes.each do |api| method = api.route_method.ljust(10) path = api.route_path.ljust(40) description = api.route_description puts " #{method} #{path} # #{description}" end end end
Version data entries
7 entries across 7 versions & 2 rubygems