lib/mls/models/listing.rb in mls-0.2.54 vs lib/mls/models/listing.rb in mls-0.3.0

- old
+ new

@@ -26,24 +26,26 @@ property :space_type, String, :default => 'unit' property :unit, String property :floor, Fixnum property :comments, String - property :total_size, Fixnum + property :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 - property :monthly_rate, Decimal, :serialize => :false - property :yearly_rate, Decimal, :serialize => :false + property :rate_per_month, Decimal, :serialize => :false + property :rate_per_year, Decimal, :serialize => :false property :sublease_expiration, DateTime - property :forecast_per_month, Decimal, :serialize => :false + property :forecast_rate_per_year, Decimal, :serialize => :false + property :forecast_rate_per_month, Decimal, :serialize => :false property :forecast_rate_per_sqft_per_month, Decimal, :serialize => :false + property :forecast_rate_per_sqft_per_year, Decimal, :serialize => :false property :available_on, DateTime property :maximum_term_length, Fixnum property :minimum_term_length, Fixnum