Sha256: 28763a0676d6899a7ac7de1b0f21d3d72b4000cca74e80e031029176bf8208ff

Contents?: true

Size: 216 Bytes

Versions: 6

Compression:

Stored size: 216 Bytes

Contents

module HelloService
  class API < Grape::API
    format :json

    resource :hello do
      desc 'Return a Hello World message'
      get do
        { message: 'Hello Wonderful World!' }
      end
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
napa-0.1.11 lib/generators/templates/scaffold/app/apis/hello_api.rb
napa-0.1.10 lib/generators/templates/scaffold/app/apis/hello_api.rb
napa-0.1.7 lib/generators/templates/scaffold/app/apis/hello_api.rb
napa-0.1.6 lib/generators/templates/scaffold/app/apis/hello_api.rb
napa-0.1.4 lib/generators/templates/scaffold/app/apis/hello_api.rb
napa-0.1.3 lib/generators/templates/scaffold/app/apis/hello_api.rb