Class: WsdlMapperTesting::Middlewares::FakeResponseFactory
- Inherits:
-
WsdlMapper::Runtime::Middlewares::SimpleResponseFactory
- Object
- WsdlMapper::Runtime::Middlewares::SimpleResponseFactory
- WsdlMapperTesting::Middlewares::FakeResponseFactory
- Defined in:
- lib/wsdl_mapper_testing/middlewares/fake_response_factory.rb
Instance Method Summary (collapse)
- - (Object) fake_d10r(xml, body)
-
- (FakeResponseFactory) initialize
constructor
A new instance of FakeResponseFactory.
Methods inherited from WsdlMapper::Runtime::Middlewares::SimpleResponseFactory
Constructor Details
- (FakeResponseFactory) initialize
Returns a new instance of FakeResponseFactory
6 7 8 |
# File 'lib/wsdl_mapper_testing/middlewares/fake_response_factory.rb', line 6 def initialize @xml = {} end |
Instance Method Details
- (Object) fake_d10r(xml, body)
10 11 12 |
# File 'lib/wsdl_mapper_testing/middlewares/fake_response_factory.rb', line 10 def fake_d10r(xml, body) @xml[xml] = body end |