Sha256: 9c36abf76aeecc7e53915c7d2a22ea81eccc5b29899c638449e2b076a259872b

Contents?: true

Size: 195 Bytes

Versions: 17

Compression:

Stored size: 195 Bytes

Contents

class HelloApi < Grape::API

  resource :hello do
    desc 'Return a Hello World message'
    get do
      { message: 'Hello Wonderful World, from <%= app_name.classify %>!' }
    end
  end

end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
napa-0.5.0 lib/napa/cli/templates/new/app/apis/hello_api.rb.tt
service_template-0.5.2 lib/service_template/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.4.3 lib/napa/cli/templates/new/app/apis/hello_api.rb.tt
service_template-0.5.1 lib/service_template/generators/templates/scaffold/app/apis/hello_api.rb.tt
service_template-0.5.0 lib/service_template/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.4.1 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.4.0 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.3.0 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.2.1 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.2.0 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.1.29 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.1.28 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.1.26 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.1.25 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.1.24 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.1.23 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt
napa-0.1.22 lib/napa/generators/templates/scaffold/app/apis/hello_api.rb.tt