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

Version Path
grape-path-helpers-2.0.0 lib/grape-path-helpers.rb
grape-path-helpers-1.7.1 lib/grape-path-helpers.rb
grape-path-helpers-1.7.0 lib/grape-path-helpers.rb
grape-path-helpers-1.6.3 lib/grape-path-helpers.rb
grape-path-helpers-1.6.2 lib/grape-path-helpers.rb
grape-path-helpers-1.6.1 lib/grape-path-helpers.rb
grape-path-helpers-1.6.0 lib/grape-path-helpers.rb
grape-path-helpers-1.5.0 lib/grape-path-helpers.rb
grape-path-helpers-1.4.0 lib/grape-path-helpers.rb
grape-path-helpers-1.3.0 lib/grape-path-helpers.rb