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