class FormsDataset < Dataset::Base def load create_record :form, :checkout, :title => 'Checkout', :body => body, :content => content, :config => config end def body <<-BODY
  1. Name
  2. Unit
  3. Street
  4. Suburb
  5. State
  6. Postcode
  7. Country
  1. Name
  2. Unit
  3. Street
  4. Suburb
  5. State
  6. Postcode
  7. Country
  1. Type Card Visa Master Card Diners Club AMEX
  2. Name on Card
  3. Card Number
  4. Verification Code
  5. Date on Card # Todo turns these into tags 01 - January 02 - February 03 - March 04 - April 05 - May 06 - June 07 - July 08 - August 09 - September 10 - October 11 - November 12 - December 2010 2011 2012 2013 2014
BODY end def content <<-CONTENT CONTENT end def config <<-CONFIG checkout: shipping: enabled: true gateway: name: PayWay username: 123456 password: abcdef merchant: test pem: /var/www/certificate.pem CONFIG end end