Sha256: e5615eae12d2b0144a47c781661202fbcfd195eeb8649f71ebad04f5c1e95525
Contents?: true
Size: 381 Bytes
Versions: 6
Compression:
Stored size: 381 Bytes
Contents
# -*- encoding : utf-8 -*- module Rubykassa module ActionViewExtension def pay_url phrase, invoice_id, total, options = {} total, invoice_id = total.to_s, invoice_id.to_s extra_params = options.except(:custom) custom_params = options[:custom] ||= {} link_to phrase, Rubykassa.pay_url(invoice_id, total, custom_params, extra_params) end end end
Version data entries
6 entries across 6 versions & 1 rubygems