Sha256: d0f7a3e19745ba230db11c21b89ded4a224151f3b530ccfff1b3341443fdac5f

Contents?: true

Size: 473 Bytes

Versions: 7

Compression:

Stored size: 473 Bytes

Contents

require 'grape'
require 'active_support'
require 'active_support/core_ext/class'

require 'grape-route-helpers/decorated_route'
require 'grape-route-helpers/named_route_matcher'
require 'grape-route-helpers/all_routes'
require 'grape-route-helpers/route_displayer'

#
module GrapeRouteHelpers
  require 'grape-route-helpers/railtie' if defined?(Rails)
end

Grape::API.extend GrapeRouteHelpers::AllRoutes
Grape::Endpoint.send(:include, GrapeRouteHelpers::NamedRouteMatcher)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
grape-route-helpers-2.1.0 lib/grape-route-helpers.rb
grape-route-helpers-2.0.0 lib/grape-route-helpers.rb
grape-route-helpers-1.2.2 lib/grape-route-helpers.rb
grape-route-helpers-1.2.1 lib/grape-route-helpers.rb
grape-route-helpers-1.2.0 lib/grape-route-helpers.rb
grape-route-helpers-1.0.1 lib/grape-route-helpers.rb
grape-route-helpers-1.0.0 lib/grape-route-helpers.rb