Sha256: c72b881d3154fb3bffd124a5a2a42866f0ebbcc9b3426dbd0e2f57fe0ce04c09
Contents?: true
Size: 215 Bytes
Versions: 14
Compression:
Stored size: 215 Bytes
Contents
desc "display all routes" task :routes do grape_apis = ObjectSpace.each_object(Class).select { |klass| klass < Grape::API } grape_apis.each do |api| api.routes.each do |r| puts "#{r}" end end end
Version data entries
14 entries across 14 versions & 1 rubygems