Sha256: a8cf411e2317c9db7ee9000e091c19f3830d9e5cb52b482e55648519a67a86f3

Contents?: true

Size: 143 Bytes

Versions: 8

Compression:

Stored size: 143 Bytes

Contents

module <%= config[:class_name] %>
  class HelloWorld < Grape::API
    get '/hello_world' do
      { message: 'hello world' }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
grape-cli-0.2.5 lib/grape_cli/templates/application/app/resources/hello_world.rb.tt
grape-cli-0.2.4 lib/grape_cli/templates/application/app/resources/hello_world.rb.tt
grape-cli-0.2.3 lib/grape_cli/templates/application/app/resources/hello_world.rb.tt
grape-cli-0.2.2 lib/grape_cli/templates/application/app/resources/hello_world.rb.tt
grape-cli-0.2.1 lib/grape/cli/template/application/app/resources/hello_world.rb.tt
grape-cli-0.2.0 lib/grape/cli/template/application/app/resources/hello_world.rb.tt
grape-cli-0.1.1 lib/grape/cli/template/application/app/resources/hello_world.rb.tt
grape-cli-0.1.0 lib/grape/cli/template/application/app/resources/hello_world.rb.tt