lib/savon.rb in savon-0.7.9 vs lib/savon.rb in savon-0.8.0.beta.1

- old
+ new

@@ -1,35 +1,14 @@ +require "savon/version" +require "savon/global" +require "savon/client" + module Savon + extend Global - # Raised in case of an HTTP error. - class HTTPError < StandardError; end + # Yields this module to a given +block+. Please refer to the + # <tt>Savon::Global</tt> module for configuration options. + def self.configure + yield self if block_given? + end - # Raised in case of a SOAP fault. - class SOAPFault < StandardError; end - end - -# standard libs -require "logger" -require "net/https" -require "base64" -require "digest/sha1" -require "rexml/document" -require "stringio" -require "zlib" -require "cgi" - -# gem dependencies -require "builder" -require "crack/xml" - -# core files -require "savon/core_ext" -require "savon/wsse" -require "savon/soap" -require "savon/logger" -require "savon/request" -require "savon/response" -require "savon/wsdl_stream" -require "savon/wsdl" -require "savon/client" -require "savon/version" \ No newline at end of file