Sha256: 3af0488253bd5144821a4e7c9ee88d62e5492246cd73c4f2360c14d4c630f2e8

Contents?: true

Size: 203 Bytes

Versions: 2

Compression:

Stored size: 203 Bytes

Contents

module Acme
  class Post < Grape::API
    desc 'Creates a spline that can be reticulated.'
    resource :spline do
      post do
        { reticulated: params[:reticulated] }
      end
    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/post.rb
vitals-0.3.0 integration/multiverse/grape-on-rails/app/api/acme/post.rb