Sha256: 2354e431382145d898ce65b04667880425dd5a8424c44c3cfdfda89a9df9157e

Contents?: true

Size: 182 Bytes

Versions: 4

Compression:

Stored size: 182 Bytes

Contents

module API
  extend ActiveSupport::Autoload

  # Autoload API components
  autoload :V1
  autoload :Base
end

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

Version data entries

4 entries across 2 versions & 1 rubygems

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