Sha256: d8eaa9623cff9a3f61e3c165f544697391cf9a5b42447fa18a72660ba727e985

Contents?: true

Size: 288 Bytes

Versions: 13

Compression:

Stored size: 288 Bytes

Contents

require 'my_lib'

Grape::App.configure do |c|
  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

13 entries across 13 versions & 1 rubygems

Version Path
grape-app-0.8.8 spec/scenario/config/environments/test.rb
grape-app-0.8.7 spec/scenario/config/environments/test.rb
grape-app-0.8.6 spec/scenario/config/environments/test.rb
grape-app-0.8.5 spec/scenario/config/environments/test.rb
grape-app-0.8.4 spec/scenario/config/environments/test.rb
grape-app-0.8.3 spec/scenario/config/environments/test.rb
grape-app-0.8.2 spec/scenario/config/environments/test.rb
grape-app-0.8.1 spec/scenario/config/environments/test.rb
grape-app-0.8.0 spec/scenario/config/environments/test.rb
grape-app-0.7.1 spec/scenario/config/environments/test.rb
grape-app-0.6.4 spec/scenario/config/environments/test.rb
grape-app-0.6.3 spec/scenario/config/environments/test.rb
grape-app-0.6.2 spec/scenario/config/environments/test.rb