Class: WsdlMapperTesting::FakeS8r
- Inherits:
-
Object
- Object
- WsdlMapperTesting::FakeS8r
- Defined in:
- lib/wsdl_mapper_testing/fake_s8r.rb
Instance Method Summary (collapse)
-
- (FakeS8r) initialize
constructor
A new instance of FakeS8r.
- - (Object) to_xml(input)
- - (Object) xml_for_input(input, xml)
Constructor Details
- (FakeS8r) initialize
Returns a new instance of FakeS8r
3 4 5 |
# File 'lib/wsdl_mapper_testing/fake_s8r.rb', line 3 def initialize @xmls = {} end |
Instance Method Details
- (Object) to_xml(input)
11 12 13 |
# File 'lib/wsdl_mapper_testing/fake_s8r.rb', line 11 def to_xml(input) @xmls.fetch input end |
- (Object) xml_for_input(input, xml)
7 8 9 |
# File 'lib/wsdl_mapper_testing/fake_s8r.rb', line 7 def xml_for_input(input, xml) @xmls[input] = xml end |