Class: Dps::PaymentsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Dps::PaymentsController
- Defined in:
- app/controllers/dps/payments_controller.rb
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
7 8 9 10 11 12 13 |
# File 'app/controllers/dps/payments_controller.rb', line 7 def new if @endpoint_renderer.present? @endpoint_renderer.instance_method(:render_new_payment).bind(self).call else render json: "Could not process endpoint '#{@endpoint}'", status: 501 end end |