Skip to content

Commit d8a8e9c

Browse files
committed
Bug fix: Backwards compatibility.
1 parent 5c74645 commit d8a8e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/payson_api/request/payment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Payment
55
:locale, :currency, :tracking_id, :invoice_fee, :order_items, :fundings,
66
:fees_payer, :guarantee_offered, :custom
77

8-
def initialize(return_url, cancel_url, ipn_url, memo, sender, receivers, custom)
8+
def initialize(return_url, cancel_url, ipn_url, memo, sender, receivers, custom = nil)
99
@return_url = return_url
1010
@cancel_url = cancel_url
1111
@ipn_url = ipn_url

0 commit comments

Comments
 (0)