Sha256: fbb60c711636f264eab6aaf150e3a18aa7f9f4d2a49b58fd928d26813118266f
Contents?: true
Size: 461 Bytes
Versions: 15
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( details: 'for pretend', provider: 'pretend', card: 'none', purchased_url: params[:purchased_url], declined_url: params[:declined_url] ) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems