Skip to content

Commit

Permalink
Added low/high rate fields to model
Browse files Browse the repository at this point in the history
  • Loading branch information
rcbm committed Jun 19, 2013
1 parent 2e70260 commit 8c3a28a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mls/models/listing.rb
Expand Up @@ -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
Expand Down

0 comments on commit 8c3a28a

Please sign in to comment.