Class: SOAP::RPC::Router::RequestScopeOperation

Inherits:
Operation show all
Defined in:
lib/soap/rpc/router.rb

Instance Attribute Summary

Attributes inherited from Operation

#faults, #name, #request_style, #request_use, #response_style, #response_use, #soapaction

Instance Method Summary (collapse)

Methods inherited from Operation

#call, #request_default_encodingstyle, #response_default_encodingstyle

Constructor Details

- (RequestScopeOperation) initialize(soapaction, receiver_factory, name, param_def, opt)

Returns a new instance of RequestScopeOperation



644
645
646
647
648
649
650
# File 'lib/soap/rpc/router.rb', line 644

def initialize(soapaction, receiver_factory, name, param_def, opt)
  super(soapaction, name, param_def, opt)
  unless receiver_factory.respond_to?(:create)
    raise TypeError.new("factory must respond to 'create'")
  end
  @receiver_factory = receiver_factory
end