lib/mls/models/listing.rb in mls-0.2.17 vs lib/mls/models/listing.rb in mls-0.2.18
- old
+ new
@@ -32,13 +32,13 @@
property :minimum_divisable_size, Fixnum
property :lease_terms, String
property :rate, Decimal
property :rate_units, String, :default => '/sqft/mo'
- property :rate_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_year, Decimal, :serialize => :false
- property :total_rate_per_month, Decimal, :serialize => :false
- property :total_rate_per_year, Decimal, :serialize => :false
+ 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 :sublease_expiration, DateTime
property :available_on, DateTime
property :maximum_term_length, Fixnum
property :minimum_term_length, Fixnum