lib/datatrans/xml/transaction/status.rb in datatrans-2.4.0 vs lib/datatrans/xml/transaction/status.rb in datatrans-3.0.0

- old
+ new

@@ -2,11 +2,11 @@ require 'datatrans/xml/transaction/response' class Datatrans::XML::Transaction class StatusRequest < Request def process - self.class.post( - Datatrans.xml_status_url, + post( + self.datatrans.url(:xml_status_url), :headers => { 'Content-Type' => 'text/xml' }, :body => build_status_request.to_s ).parsed_response \ No newline at end of file