Sha256: 2c3d485b0290d2c6174f291434cd27ca2e8932be275909cf9332d078b09e1b07
Contents?: true
Size: 310 Bytes
Versions: 2
Compression:
Stored size: 310 Bytes
Contents
require 'my_lib' Grape::App.configure do |c| c.eager_load = true c.test_specific = true c.raise_on_missing_translations = true c.cors do allow do origins '*' resource '*', headers: :any, methods: %i[get post options] end end c.middleware do use MyLib::Middleware end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grape-app-0.10.0 | spec/scenario/config/environments/test.rb |
grape-app-0.9.0 | spec/scenario/config/environments/test.rb |