Class: WsdlMapper::SvcGeneration::DocumentedServiceGenerator
- Inherits:
-
ServiceGenerator
- Object
- Generation::Base
- GeneratorBase
- ServiceGenerator
- WsdlMapper::SvcGeneration::DocumentedServiceGenerator
- Defined in:
- lib/wsdl_mapper/svc_generation/documented_service_generator.rb
Instance Method Summary (collapse)
Methods inherited from ServiceGenerator
#generate_service, #generate_service_class, #generate_service_ctr
Methods inherited from GeneratorBase
Methods inherited from Generation::Base
#append_file_for, #file, #file_for, #generate_name, #get_formatter, #get_module_names, #get_type_name, #initialize, #type_file_for
Constructor Details
This class inherits a constructor from WsdlMapper::SvcGeneration::GeneratorBase
Instance Method Details
- (Object) generate_service_port_accessors(f, ports)
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/wsdl_mapper/svc_generation/documented_service_generator.rb', line 6 def generate_service_port_accessors(f, ports) yard = WsdlMapper::Generation::YardDocFormatter.new f ports.map do |p| attr_name = p.property_name.attr_name type = p.name.name yard.attribute! attr_name, type, nil do yard.tag :soap_name, p.type.name.name yard.tag :soap_binding, p.type.binding_name.name end f.attr_readers attr_name end end |