Sha256: b21950df31e414f3026ac85802cf667faaa2c2db24fb536b3e04df0c9963fd89
Contents?: true
Size: 316 Bytes
Versions: 4
Compression:
Stored size: 316 Bytes
Contents
module Opay class ApplicationController < ActionController::Base def correct_authorization payment = Opay::Payment.where(session_id: params[:session_id]).first! payment.payable.finish redirect_to '/?success' end def wrong_authorizationt redirect_to '/?error' end end end
Version data entries
4 entries across 4 versions & 1 rubygems