Sha256: 431fdbd276bb028a60eade29d35faecef48b5057d5f2876d88c91d720f44ecce
Contents?: true
Size: 445 Bytes
Versions: 6
Compression:
Stored size: 445 Bytes
Contents
module StripeWrapper module StripeWrapperHelper def stripe_pay(route_url) render partial: 'stripe_wrapper/charges/pay', locals:{redirect_url: route_url} end def stripe_wrapper_path return StripeWrapper::Engine.routes.url_helpers end def stripe_set_amount(amount) session[:stripe_payment_amount] = @amount.to_i end def stripe_get_amount session[:stripe_payment_amount].to_i end end end
Version data entries
6 entries across 6 versions & 1 rubygems