class FedexWebServices::Soap::Close::ClosePortType
Constants
- DefaultEndpointUrl
- Methods
Public Class Methods
new(endpoint_url = nil)
click to toggle source
Calls superclass method
# File lib/fedex_web_services/soap/CloseServiceDefinitionsDriver.rb, line 63 def initialize(endpoint_url = nil) endpoint_url ||= DefaultEndpointUrl super(endpoint_url, nil) self.mapping_registry = CloseServiceDefinitionsMappingRegistry::EncodedRegistry self.literal_mapping_registry = CloseServiceDefinitionsMappingRegistry::LiteralRegistry init_methods end
Private Instance Methods
init_methods()
click to toggle source
# File lib/fedex_web_services/soap/CloseServiceDefinitionsDriver.rb, line 73 def init_methods Methods.each do |definitions| opt = definitions.last if opt[:request_style] == :document add_document_operation(*definitions) else add_rpc_operation(*definitions) qname = definitions[0] name = definitions[2] if qname.name != name and qname.name.capitalize == name.capitalize ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg| __send__(name, *arg) end end end end end