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, 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 =
'2.15.1'

Class Method Summary collapse

Class Method Details

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



10
11
12
# File 'lib/savon.rb', line 10

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

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



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

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



14
15
16
# File 'lib/savon.rb', line 14

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