Class: WSDL::SOAP::CGIStubCreator
- Inherits:
-
Object
- Object
- WSDL::SOAP::CGIStubCreator
- Includes:
- ClassDefCreatorSupport
- Defined in:
- lib/wsdl/soap/cgiStubCreator.rb
Instance Attribute Summary collapse
-
#definitions ⇒ Object
readonly
Returns the value of attribute definitions.
Instance Method Summary collapse
- #dump(service_name) ⇒ Object
-
#initialize(definitions) ⇒ CGIStubCreator
constructor
A new instance of CGIStubCreator.
Methods included from ClassDefCreatorSupport
#basetype_mapped_class, #create_class_name, #dq, #dqname, #dump_method_signature, #ndq, #sym
Constructor Details
#initialize(definitions) ⇒ CGIStubCreator
Returns a new instance of CGIStubCreator.
24 25 26 |
# File 'lib/wsdl/soap/cgiStubCreator.rb', line 24 def initialize(definitions) @definitions = definitions end |
Instance Attribute Details
#definitions ⇒ Object (readonly)
Returns the value of attribute definitions
22 23 24 |
# File 'lib/wsdl/soap/cgiStubCreator.rb', line 22 def definitions @definitions end |
Instance Method Details
#dump(service_name) ⇒ Object
28 29 30 31 32 |
# File 'lib/wsdl/soap/cgiStubCreator.rb', line 28 def dump(service_name) warn("CGI stub can have only 1 port. Creating stub for the first port... Rests are ignored.") port = @definitions.service(service_name).ports[0] dump_porttype(port.porttype.name) end |