Class: Person

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/ptc_datamapper.rb

Instance Method Summary collapse

Instance Method Details

#na_dataObject



87
88
89
# File 'lib/ptc_datamapper.rb', line 87

def na_data
    value_array = ['NA', 6, self.input_id, '', '', '', '', '', self.first_name, '', self.last_name, '', self.address, '', '', self.city, self.state, self.zip, '', '', '', '', '', '', '', '', self.email, '', '', '', '', self.date_created.gsub!(' ','|') ]
end

#ptc_dataObject



83
84
85
# File 'lib/ptc_datamapper.rb', line 83

def ptc_data
    value_array = ['PTC', 6, self.input_id, '1325', '', '', 'Y','Y', '', self.date_created]
end