Sha256: b0d428c89abe8cd5905c3524bf556a693b4d6c7a4c5128dd0044c4210a1c74fc
Contents?: true
Size: 476 Bytes
Versions: 25
Compression:
Stored size: 476 Bytes
Contents
module Effective module Providers module Cheque extend ActiveSupport::Concern def cheque @order ||= Order.find(params[:id]) EffectiveOrders.authorize!(self, :update, @order) flash[:success] = EffectiveOrders.cheque[:success] order_deferred(provider: 'cheque', deferred_url: cheque_params[:deferred_url]) end def cheque_params params.require(:cheque).permit(:deferred_url) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems