config/routes.rb in defra_ruby_mocks-2.2.0 vs config/routes.rb in defra_ruby_mocks-2.3.0

- old
+ new

@@ -9,13 +9,13 @@ get "/company/:id/officers", to: "company#officers", as: "company_officers", constraints: ->(_request) { DefraRubyMocks.configuration.enabled? } - get "/worldpay/payments-service", - to: "worldpay#payments_service", - as: "worldpay_payments_service", - constraints: ->(_request) { DefraRubyMocks.configuration.enabled? } + post "/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? }