Class: Ebay::Schema::XSD2eBay

Inherits:
Object
  • Object
show all
Includes:
Ebay
Defined in:
lib/ebay/schema/mapper/xsd2ebay.rb

Class Method Summary collapse

Class Method Details

.run(data, directory) ⇒ Object



6
7
8
9
10
# File 'lib/ebay/schema/mapper/xsd2ebay.rb', line 6

def self.run(data, directory)
  xsd = Parser.parse(data)
  importer = ApiSchemaImporter.new(xsd, data)
  importer.export_classes(directory)
end