Method: V0::PPIUController#controller_enabled?
- Defined in:
- app/controllers/v0/ppiu_controller.rb
#controller_enabled? ⇒ Boolean
14 15 16 17 18 19 20 21 22 |
# File 'app/controllers/v0/ppiu_controller.rb', line 14 def controller_enabled? if Flipper.enabled?(:profile_ppiu_reject_requests, @current_user) = 'EVSS PPIU endpoint is being deprecated. Please contact the ' \ 'Authenticated Experience team with any questions or use the ' \ "'/v0/profile/direct_deposits' endpoint instead." raise Common::Exceptions::Forbidden, detail: end end |