Flowdock
method

typed_struct_factory

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: ActionWebService::Protocol::Soap::SoapMarshaler
typed_struct_factory(type_class) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 92
          def typed_struct_factory(type_class)
            if Object.const_defined?('ActiveRecord')
              if type_class.ancestors.include?(ActiveRecord::Base)
                qname =  XSD::QName.new(@namespace, soap_type_name(type_class.name))
                type_class.instance_variable_set('@qname', qname)
                return SoapActiveRecordStructFactory.new
              end
            end
            SOAP::Mapping::Registry::TypedStructFactory
          end
Register or log in to add new notes.