Sha256: f53eb7f3024c417b97dfd834a6a7856bea3fd5354a2476576550cb4dc16904c7

Contents?: true

Size: 165 Bytes

Versions: 2

Compression:

Stored size: 165 Bytes

Contents

module API
  extend ActiveSupport::Autoload

  # Autoload API components
  autoload :V1
end

# Mount root API to app
Grape::App.instance_eval do
  mount API::V1
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
grape-app-0.6.4 lib/grape/app/templates/app/api.rb
grape-app-0.6.4 spec/scenario/app/api.rb