# File lib/active_merchant/billing/integrations/direc_pay/status.rb, line 29 def test? ActiveMerchant::Billing::Base.integration_mode == :test || options[:test] 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 def update(authorization, notification_url) url = test? ? STATUS_TEST_URL : STATUS_LIVE_URL parameters = [ authorization, account, notification_url ] data = PostData.new data[:requestparams] = parameters.join('|') response = ssl_get("#{url}?#{data.to_post_data}") end
Generated with the Darkfish Rdoc Generator 2.