# File lib/active_merchant/billing/integrations/direc_pay/status.rb, line 29 29: def test? 30: ActiveMerchant::Billing::Base.integration_mode == :test || options[:test] 31: end
Use this method to manually request a status update to the provided notification_url
# File lib/active_merchant/billing/integrations/direc_pay/status.rb, line 20 20: def update(authorization, notification_url) 21: url = test? ? STATUS_TEST_URL : STATUS_LIVE_URL 22: parameters = [ authorization, account, notification_url ] 23: data = PostData.new 24: data[:requestparams] = parameters.join('|') 25: 26: response = ssl_get("#{url}?#{data.to_post_data}") 27: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.