Sha256: cb98c0792bc49ede578adaff9adf5a2a4c402fa1882dd1b249a5555e8f07bf0e

Contents?: true

Size: 671 Bytes

Versions: 5

Compression:

Stored size: 671 Bytes

Contents

class CabooseRets::OpenHouse < ActiveRecord::Base
  self.table_name = "rets_open_houses"
  
  def parse(data)
    self.id 		          = data['ID']
    self.comments 		    = data['COMMENTS']
    self.date_created 		= data['DATE_CREATED']
    self.date_modified 		= data['DATE_MODIFIED']
    self.end_time 		    = data['END_TIME']    
    self.la_code 		      = data['LA_CODE']
    self.mls_acct 		    = data['MLS_ACCT']
    self.open_house_date 	= data['OPEN_HOUSE_DATE']
    self.open_house_type 	= data['OPEN_HOUSE_TYPE']
    self.perpetual_yn 		= data['PERPETUAL_YN']
    self.prop_type 		    = data['PROP_TYPE']
    self.start_time 		  = data['START_TIME']
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
caboose-rets-0.0.6 app/models/caboose_rets/open_house.rb
caboose-rets-0.0.5 app/models/caboose_rets/open_house.rb
caboose-rets-0.0.4 app/models/caboose_rets/open_house.rb
caboose-rets-0.0.3 app/models/caboose_rets/open_house.rb
caboose-rets-0.0.2 app/models/caboose_rets/open_house.rb