Sha256: 089aa9a46005f8daaf6b56e500ce6a93f0498a1c760c51f20cf85a8fc20a6b63

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

ZuoraConnect::Engine.routes.draw do
  get '/health' => 'static#health'
  get '/internal/data' => 'static#metrics'
  post '/initialize_app' => 'static#initialize_app'

  if ENV['PROVISION_USER'].present? && ENV['PROVISION_SECRET'].present?
    post '/provision' => 'static#provision'
  end

  namespace :api do
    namespace :v1 do
      resources :app_instance, :only => [:index], defaults: {format: :json} do
          match "drop", via: [:get, :post], on: :collection
          match "cache_bust", via: [:get, :post], on: :collection
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zuora_connect-2.0.60a config/routes.rb
zuora_connect-2.0.59a config/routes.rb
zuora_connect-2.0.58a config/routes.rb
zuora_connect-2.0.57zc config/routes.rb