lib/mls/models/listing.rb in mls-0.2.24 vs lib/mls/models/listing.rb in mls-0.2.25

- old
+ new

@@ -16,23 +16,23 @@ property :private, Boolean, :default => false, :serialize => false property :source, String property :source_url, String property :source_type, String, :serialize => :if_present property :channel, String, :serialize => :if_present - + property :name, String property :type, String, :default => 'lease' property :state, String, :default => 'listed' property :space_type, String, :default => 'unit' property :unit, String property :floor, Fixnum property :comments, String - + property :total_size, Fixnum property :maximum_contiguous_size, Fixnum property :minimum_divisable_size, Fixnum - + property :lease_terms, String property :rate, Decimal property :rate_units, String, :default => '/sqft/mo' property :rate_per_sqft_per_month, Decimal, :serialize => :false # need to make write methods for these that set rate to the according rate units. not accepted on api property :rate_per_sqft_per_year, Decimal, :serialize => :false @@ -60,9 +60,10 @@ property :created_at, DateTime, :serialize => :false property :updated_at, DateTime, :serialize => :false property :leased_on, DateTime property :flyer_id, Fixnum, :serialize => :if_present + property :floorplan_id Fixnum, :serialize => :if_present property :avatar_digest, String, :serialize => false attr_accessor :address, :agents, :account, :photos, :flyer, :floorplan, :videos attr_writer :amenities