lib/savon.rb in savon-2.0.3 vs lib/savon.rb in savon-2.1.0
- old
+ new
@@ -1,9 +1,9 @@
module Savon
- class Error < RuntimeError; end
- class InitializationError < Error; end
- class InvalidResponseError < Error; end
+ Error = Class.new(RuntimeError)
+ InitializationError = Class.new(Error)
+ InvalidResponseError = Class.new(Error)
def self.client(globals = {}, &block)
Client.new(globals, &block)
end