Sha256: 1d34d9c4632ea87bbf3efc9ff2c9ae2494ed4455cfb4d655e6f016f7fd3acdf6

Contents?: true

Size: 264 Bytes

Versions: 8

Compression:

Stored size: 264 Bytes

Contents

class API::V1 < Grape::API
  version 'v1'
  prefix  'api'
  format  :json

  # Custom rescues:
  #
  # rescue_from ActiveRecord::RecordNotFound do |e|
  #   error_response message: e.message, status: 404
  # end

  # Mount components:
  #
  # mount API::Posts
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
grape-app-0.11.3 lib/grape/app/templates/app/api/v1.rb
grape-app-0.11.2 lib/grape/app/templates/app/api/v1.rb
grape-app-0.11.1 lib/grape/app/templates/app/api/v1.rb
grape-app-0.11.0 lib/grape/app/templates/app/api/v1.rb
grape-app-0.10.1 lib/grape/app/templates/app/api/v1.rb
grape-app-0.10.0 lib/grape/app/templates/app/api/v1.rb
grape-app-0.9.0 lib/grape/app/templates/app/api/v1.rb
grape-app-0.8.8 lib/grape/app/templates/app/api/v1.rb