Sha256: 4c8af5095beaf07a01ff2605c7fa353f3cf3319c15a1861db714f76b51fd62b9

Contents?: true

Size: 639 Bytes

Versions: 27

Compression:

Stored size: 639 Bytes

Contents

module Savon

  Error                 = Class.new(RuntimeError)
  InitializationError   = Class.new(Error)
  UnknownOptionError    = Class.new(Error)
  UnknownOperationError = Class.new(Error)
  InvalidResponseError  = Class.new(Error)

  def self.client(globals = {}, &block)
    Client.new(globals, &block)
  end

  def self.observers
    @observers ||= []
  end

  def self.notify_observers(operation_name, builder, globals, locals)
    observers.inject(nil) do |response, observer|
      observer.notify(operation_name, builder, globals, locals)
    end
  end

end

require "savon/version"
require "savon/client"
require "savon/model"

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
savon-2.12.1 lib/savon.rb
savon-2.12.0 lib/savon.rb
savon-2.11.2 lib/savon.rb
savon-SU-2.11.1b lib/savon.rb
savon-SU-2.11.1 lib/savon.rb
savon-2.11.1 lib/savon.rb
savon-2.11.0 lib/savon.rb
savon-2.10.1 lib/savon.rb
savon-2.10.0 lib/savon.rb
savon-2.9.0 lib/savon.rb
savon-2.8.1 lib/savon.rb
savon-2.8.0 lib/savon.rb
savon-2.7.2 lib/savon.rb
savon-2.7.1 lib/savon.rb
savon-2.7.0 lib/savon.rb
savon-2.6.0 lib/savon.rb
savon-2.5.1 lib/savon.rb
savon-2.5.0 lib/savon.rb
savon_with_adapter-2.4.1 lib/savon.rb
savon-2.4.0 lib/savon.rb