Sha256: d186df9f89d2d9a6357636fc0dfe299fdeebef5d45786d66f4a805c6d9d9b1e4
Contents?: true
Size: 513 Bytes
Versions: 10
Compression:
Stored size: 513 Bytes
Contents
require 'grape' require 'active_support' require 'active_support/core_ext/class' require 'grape-path-helpers/decorated_route' require 'grape-path-helpers/named_route_matcher' require 'grape-path-helpers/all_routes' require 'grape-path-helpers/route_displayer' # Load the Grape route helper for Rails module GrapePathHelpers require 'grape-path-helpers/railtie' if defined?(Rails) end Grape::API::Instance.extend GrapePathHelpers::AllRoutes Grape::Endpoint.send(:include, GrapePathHelpers::NamedRouteMatcher)
Version data entries
10 entries across 10 versions & 1 rubygems