Sha256: e1c1d29970b7f180f72f15b8b0ec5945634c1bdb0e8db79e396d954210f9d6d2
Contents?: true
Size: 490 Bytes
Versions: 7
Compression:
Stored size: 490 Bytes
Contents
require 'wsdl/soap/servant_skelton_creator' module Soybean module Generators class InterfaceGenerator include BaseGenerator attr_reader :name def initialize(wsdl) @wsdl = wsdl @name = (wsdl.name.name.underscore.gsub(/_service$/, '_interface') rescue 'base_interface') end def dir 'interfaces' end def generate InterfaceBuilder.new(@wsdl, WSDL::SOAP::ClassNameCreator.new).dump end end end end
Version data entries
7 entries across 7 versions & 1 rubygems