Permalink
Browse files

Added low/high rate fields to model

  • Loading branch information...
rcbm committed Jun 19, 2013
1 parent 2e70260 commit 8c3a28acf4ab27d97c25808b4909efec06c70b05
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/mls/models/listing.rb
@@ -35,6 +35,8 @@ class MLS::Listing < MLS::Resource
property :lease_terms, String
property :rate, Decimal
property :rate_units, String, :default => '/sqft/mo'
+ property :low_rate, Decimal, :serialize => :false
+ property :high_rate, 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 :rate_per_month, Decimal, :serialize => :false

0 comments on commit 8c3a28a

Please sign in to comment.