config/routes.rb in defra_ruby_mocks-1.0.0 vs config/routes.rb in defra_ruby_mocks-1.1.0
- old
+ new
@@ -3,6 +3,17 @@
DefraRubyMocks::Engine.routes.draw do
get "/company/:id",
to: "company#show",
as: "company",
constraints: ->(_request) { DefraRubyMocks.configuration.enabled? }
+
+ get "/worldpay/payments-service",
+ to: "worldpay#payments_service",
+ as: "worldpay_payments_service",
+ constraints: ->(_request) { DefraRubyMocks.configuration.enabled? }
+
+ get "/worldpay/dispatcher",
+ to: "worldpay#dispatcher",
+ as: "worldpay_dispatcher",
+ constraints: ->(_request) { DefraRubyMocks.configuration.enabled? }
+
end