Module: PagSeguro::Helper

Defined in:
lib/pagseguro/helper.rb

Instance Method Summary collapse

Instance Method Details

#pagseguro_form(order, options = {}) ⇒ Object



2
3
4
5
# File 'lib/pagseguro/helper.rb', line 2

def pagseguro_form(order, options = {})
  options.reverse_merge!(:submit => "Pagar com PagSeguro")
  render :partial => "pagseguro/pagseguro_form", :locals => {:options => options, :order => order}
end