lib/pesapal/merchant.rb in pesapal-1.5.3 vs lib/pesapal/merchant.rb in pesapal-1.5.4

- old
+ new

@@ -161,9 +161,11 @@ @api_endpoints = {} @api_endpoints[:postpesapaldirectorderv4] = "#{@api_domain}/API/PostPesapalDirectOrderV4" @api_endpoints[:querypaymentstatus] = "#{@api_domain}/API/QueryPaymentStatus" @api_endpoints[:querypaymentdetails] = "#{@api_domain}/API/QueryPaymentDetails" + + return @api_endpoints end # set credentialts through hash, uses default if nothing is input def set_configuration(consumer_details = {})