Sha256: 1db92ee65bb9529ce589d50e35c30405686cef1af2a48f13af2d3a717f5f46bd

Contents?: true

Size: 154 Bytes

Versions: 2

Compression:

Stored size: 154 Bytes

Contents

require 'grape'

class GrapeSimple < Grape::API
  set :reload, true

  get '/json_endpoint' do
    present({ :test => true })
  end
end

use GrapeSimple

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oboe-2.6.8 test/frameworks/apps/grape_simple.rb
oboe-2.6.7.1 test/frameworks/apps/grape_simple.rb