lib/pesapal/merchant/status.rb in pesapal-1.3.0 vs lib/pesapal/merchant/status.rb in pesapal-1.5.0
- old
+ new
@@ -1,10 +1,10 @@
module Pesapal
module Status
# set parameters required by the QueryPaymentStatus & QueryPaymentStatusByMerchantRef calls
- def Status.set_parameters(consumer_key, merchant_reference, transaction_tracking_id = nil)
+ def self.set_parameters(consumer_key, merchant_reference, transaction_tracking_id = nil)
# parameters required by the QueryPaymentStatus call (excludes
# oauth_signature parameter as per the instructions here
# http://developer.pesapal.com/how-to-integrate/api-reference)