Sha256: 5c93d7ee223ca76fbdf103487c76631bb26def16d6f45ff0c5dbdf25233994f9
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 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.prepend GrapePathHelpers::NamedRouteMatcher
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grape-path-helpers-2.0.1 | lib/grape-path-helpers.rb |