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