module Rubykassa

Constants

VERSION

Public Instance Methods

configure(&block) click to toggle source
# File lib/rubykassa.rb, line 10
def configure &block
  Rubykassa::Client.configure &block
end
pay_url(invoice_id, total, custom_params, extra_params = {}) click to toggle source
# File lib/rubykassa.rb, line 20
def pay_url invoice_id, total, custom_params, extra_params = {}
  Rubykassa::PaymentInterface.new do
    self.total      = total
    self.invoice_id = invoice_id
    self.params     = custom_params
  end.pay_url(extra_params)
end