Skip to content

alagu/adf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

ADF Gem - AutoDealer Format Gem

ADF Gem allows you to quickly create ADF XML files. Premature, just supports Customers.

Usage and Example

Install the gem

$ gem install adf

Require it in your project and create prospects.

require 'adf'
require 'date'
doc = ADF::ADFDoc.new
prospect = ADF::Prospect.new DateTime.now
prospect.set_customer("Allagappan", "Muthuraman", "240-242-5248", "allagappan@gmail.com")
doc.add_prospect prospect
puts doc.to_xml

Prints out

About

Auto Dealer Format Ruby Gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages