Sha256: fd082970d0b4557ca0246f190ff4f70fd69c259f61bffc02cbafb8bf19ae9e10

Contents?: true

Size: 138 Bytes

Versions: 2

Compression:

Stored size: 138 Bytes

Contents

module Acme
  class Ping < Grape::API
    desc 'Returns pong.'
    get :ping do
      { ping: params[:pong] || 'pong' }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vitals-0.4.0 integration/multiverse/grape-on-rails/app/api/acme/ping.rb
vitals-0.3.0 integration/multiverse/grape-on-rails/app/api/acme/ping.rb