Sha256: 6b51f31455f6f00b4e3a856a4f27974349140748b872fc9bf54a7b16b8592e83

Contents?: true

Size: 283 Bytes

Versions: 13

Compression:

Stored size: 283 Bytes

Contents

class ApplicationEndpoint < Grape::API
  format :json
  formatter :json, Grape::Formatter::Roar
  content_type :json, 'application/hal+json'
  cascade true

  desc 'Get the Root API Endpoint'
  get do
    present self, with: RootPresenter
  end

  # Additional mounted endpoints
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gris-0.6.8 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.6.7 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.6.6 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.6.5 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.6.2 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.6.1 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.6.0 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.5.9 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.5.8 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.5.7 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.5.6 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.5.5 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb
gris-0.5.4 lib/gris/generators/templates/scaffold/app/endpoints/application_endpoint.rb