Sha256: 02b0128d1858128de6003a58a21473f8b20c67bfa723732d0a034fac6d7a5f5e
Contents?: true
Size: 461 Bytes
Versions: 39
Compression:
Stored size: 461 Bytes
Contents
module Effective module Providers module Pretend extend ActiveSupport::Concern def pretend @order ||= Order.find(params[:id]) EffectiveOrders.authorize!(self, :update, @order) order_purchased( payment: 'for pretend', provider: 'pretend', card: 'none', purchased_url: params[:purchased_url], declined_url: params[:declined_url] ) end end end end
Version data entries
39 entries across 39 versions & 1 rubygems