Class: WSDL::SOAP::ClientSkeltonCreator
- Includes:
- ClassDefCreatorSupport
- Defined in:
- lib/action_web_service/wsdl/soap/clientSkeltonCreator.rb
Instance Attribute Summary collapse
-
#definitions ⇒ Object
readonly
Returns the value of attribute definitions.
Instance Method Summary collapse
- #dump(service_name) ⇒ Object
-
#initialize(definitions) ⇒ ClientSkeltonCreator
constructor
A new instance of ClientSkeltonCreator.
Methods included from ClassDefCreatorSupport
#basetype_mapped_class, #create_class_name, #dq, #dqname, #dump_method_signature, #ndq, #sym
Methods included from XSD::CodeGen::GenSupport
capitalize, #format, keyword?, safeconstname, safeconstname?, safemethodname, safemethodname?, safevarname, safevarname?, uncapitalize
Constructor Details
#initialize(definitions) ⇒ ClientSkeltonCreator
Returns a new instance of ClientSkeltonCreator.
22 23 24 |
# File 'lib/action_web_service/wsdl/soap/clientSkeltonCreator.rb', line 22 def initialize(definitions) @definitions = definitions end |
Instance Attribute Details
#definitions ⇒ Object (readonly)
Returns the value of attribute definitions.
20 21 22 |
# File 'lib/action_web_service/wsdl/soap/clientSkeltonCreator.rb', line 20 def definitions @definitions end |
Instance Method Details
#dump(service_name) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/action_web_service/wsdl/soap/clientSkeltonCreator.rb', line 26 def dump(service_name) result = "" @definitions.service(service_name).ports.each do |port| result << dump_porttype(port.porttype.name) result << "\n" end result end |