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/request_logger.rb,
lib/savon/block_interface.rb,
lib/savon/core_ext/string.rb,
lib/savon/mock/expectation.rb,
lib/savon/mock/spec_helper.rb,
lib/savon/qualified_message.rb
Defined Under Namespace
Modules: CoreExt, Model, SpecHelper
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.4.1'
Class Method Summary
collapse
Class Method Details
.client(globals = {}, &block) ⇒ Object
9
10
11
|
# File 'lib/savon.rb', line 9
def self.client(globals = {}, &block)
Client.new(globals, &block)
end
|
.notify_observers(operation_name, builder, globals, locals) ⇒ Object
17
18
19
20
21
|
# File 'lib/savon.rb', line 17
def self.notify_observers(operation_name, builder, globals, locals)
observers.inject(nil) do |response, observer|
observer.notify(operation_name, builder, globals, locals)
end
end
|
.observers ⇒ Object
13
14
15
|
# File 'lib/savon.rb', line 13
def self.observers
@observers ||= []
end
|