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

#initialize(soapaction, receiver_factory, name, param_def, opt) ⇒ RequestScopeOperation

Returns a new instance of RequestScopeOperation.



658
659
660
661
662
663
664
# File 'lib/soap/rpc/router.rb', line 658

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