Class: Dps::InfoController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Dps::InfoController
- Defined in:
- app/controllers/dps/info_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/controllers/dps/info_controller.rb', line 6 def show if Dps.endpoints.present? render json: {endpoints: Dps.endpoints} else render json: "No endpoints specified", status: 501 end end |