Sha256: 0982110d07c88a895b894d93cd6f22d9b22037a2c60112f649c9a09f95fabc3d
Contents?: true
Size: 497 Bytes
Versions: 24
Compression:
Stored size: 497 Bytes
Contents
module Effective module Providers module Pretend extend ActiveSupport::Concern def pretend_purchase @order ||= Order.find(params[:id]) EffectiveOrders.authorized?(self, :update, @order) order_purchased( details: 'for pretend', provider: 'pretend', card: 'none', redirect_url: params[:purchased_redirect_url], declined_redirect_url: params[:declined_redirect_url] ) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems