Class: WsdlMapperTesting::FakeOperation
- Inherits:
-
Object
- Object
- WsdlMapperTesting::FakeOperation
- Defined in:
- lib/wsdl_mapper_testing/fake_operation.rb
Instance Attribute Summary (collapse)
-
- (Object) input_d10r
Returns the value of attribute input_d10r.
-
- (Object) input_s8r
Returns the value of attribute input_s8r.
-
- (Object) output_d10r
Returns the value of attribute output_d10r.
-
- (Object) output_d8r
Returns the value of attribute output_d8r.
Instance Method Summary (collapse)
-
- (FakeOperation) initialize
constructor
A new instance of FakeOperation.
- - (Object) input_for_body(body, input)
- - (Object) new_input(header: nil, body: nil)
- - (Object) new_output(header: nil, body: nil)
- - (Object) output_for_body(body, output)
Constructor Details
- (FakeOperation) initialize
Returns a new instance of FakeOperation
8 9 10 11 12 13 14 15 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 8 def initialize @inputs = {} @outputs = {} @input_s8r = FakeS8r.new @output_s8r = FakeS8r.new @input_d10r = FakeD10r.new @output_d10r = FakeD10r.new end |
Instance Attribute Details
- (Object) input_d10r
Returns the value of attribute input_d10r
6 7 8 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 6 def input_d10r @input_d10r end |
- (Object) input_s8r
Returns the value of attribute input_s8r
6 7 8 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 6 def input_s8r @input_s8r end |
- (Object) output_d10r
Returns the value of attribute output_d10r
6 7 8 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 6 def output_d10r @output_d10r end |
- (Object) output_d8r
Returns the value of attribute output_d8r
6 7 8 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 6 def output_d8r @output_d8r end |
Instance Method Details
- (Object) input_for_body(body, input)
17 18 19 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 17 def input_for_body(body, input) @inputs[body] = input end |
- (Object) new_input(header: nil, body: nil)
25 26 27 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 25 def new_input(header: nil, body: nil) @inputs.fetch body end |
- (Object) new_output(header: nil, body: nil)
29 30 31 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 29 def new_output(header: nil, body: nil) @outputs.fetch body end |
- (Object) output_for_body(body, output)
21 22 23 |
# File 'lib/wsdl_mapper_testing/fake_operation.rb', line 21 def output_for_body(body, output) @outputs[body] = output end |