Module: Savon

Defined in:
lib/savon.rb,
lib/savon/mock.rb,
lib/savon/model.rb,
lib/savon/client.rb,
lib/savon/header.rb,
lib/savon/builder.rb,
lib/savon/message.rb,
lib/savon/options.rb,
lib/savon/request.rb,
lib/savon/version.rb,
lib/savon/response.rb,
lib/savon/operation.rb,
lib/savon/http_error.rb,
lib/savon/soap_fault.rb,
lib/savon/log_message.rb,
lib/savon/string_utils.rb,
lib/savon/request_logger.rb,
lib/savon/block_interface.rb,
lib/savon/mock/expectation.rb,
lib/savon/mock/spec_helper.rb,
lib/savon/qualified_message.rb

Defined Under Namespace

Modules: Model, SharedOptions, SpecHelper, StringUtils Classes: BlockInterface, Builder, Client, DeprecatedOptionError, ExpectationError, GlobalOptions, HTTPError, HTTPRequest, Header, LocalOptions, LogMessage, Message, MockExpectation, Operation, Options, QualifiedMessage, RequestLogger, Response, SOAPFault, SOAPRequest, WSDLRequest

Constant Summary collapse

Error =
Class.new(RuntimeError)
InitializationError =
Class.new(Error)
UnknownOptionError =
Class.new(Error)
UnknownOperationError =
Class.new(Error)
InvalidResponseError =
Class.new(Error)
VERSION =
'3.0.0.rc1'

Class Method Summary collapse

Class Method Details

.client(globals = {}, &block) ⇒ Object



18
19
20
# File 'lib/savon.rb', line 18

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

.notify_observers(operation_name, builder, globals, locals) ⇒ Object



26
27
28
29
30
# File 'lib/savon.rb', line 26

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

.observersObject



22
23
24
# File 'lib/savon.rb', line 22

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