Class: AdsCommon::Build::SavonRegistry

Inherits:
Object
  • Object
show all
Defined in:
lib/ads_common/build/savon_registry.rb

Overview

Contains the methods that extracts WSDL data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(wsdl, options = {}) ⇒ SavonRegistry

Initializes the instance.

Args:

  • wsdl: string containing wsdl to parse

  • options: variuos generation options



43
44
45
46
47
# File 'lib/ads_common/build/savon_registry.rb', line 43

def initialize(wsdl, options = {})
  @options = options
  @default_namespace = options[:namespace]
  do_process_wsdl(wsdl)
end

Instance Attribute Details

#soap_exceptionsObject (readonly)

Returns the value of attribute soap_exceptions.



32
33
34
# File 'lib/ads_common/build/savon_registry.rb', line 32

def soap_exceptions
  @soap_exceptions
end

#soap_methodsObject (readonly)

Returns the value of attribute soap_methods.



33
34
35
# File 'lib/ads_common/build/savon_registry.rb', line 33

def soap_methods
  @soap_methods
end

#soap_namespacesObject (readonly)

Returns the value of attribute soap_namespaces.



35
36
37
# File 'lib/ads_common/build/savon_registry.rb', line 35

def soap_namespaces
  @soap_namespaces
end

#soap_typesObject (readonly)

Returns the value of attribute soap_types.



34
35
36
# File 'lib/ads_common/build/savon_registry.rb', line 34

def soap_types
  @soap_types
end