Sha256: 3b19cd7755b0a54b55766c799aa01457275cc2416bbaa16714ec01c085c046f8
Contents?: true
Size: 619 Bytes
Versions: 21
Compression:
Stored size: 619 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' get '/instance/:id/user' => 'static#instance_user' 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
21 entries across 21 versions & 1 rubygems