Sha256: 12af53313f075ff3426d29e84ea30b97b6a99d9705522157778a2a3e0d28c4c0

Contents?: true

Size: 698 Bytes

Versions: 3

Compression:

Stored size: 698 Bytes

Contents

# frozen_string_literal: true
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"
require "savon/string_utils"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
savon-2.15.1 lib/savon.rb
savon-2.15.0 lib/savon.rb
savon-2.14.0 lib/savon.rb