Method: ActionWebService::Protocol::Soap::SoapProtocol#register_api

Defined in:
lib/action_web_service/protocol/soap_protocol.rb

#register_api(api) ⇒ Object



139
140
141
142
143
144
# File 'lib/action_web_service/protocol/soap_protocol.rb', line 139

def register_api(api)
  api.api_methods.each do |name, method|
    method.expects.each{ |type| marshaler.register_type(type) } if method.expects
    method.returns.each{ |type| marshaler.register_type(type) } if method.returns
  end
end