Class: WsdlMapperTesting::FakeS8r

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper_testing/fake_s8r.rb

Instance Method Summary (collapse)

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