Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added low/high rate fields to model

  • Loading branch information...
commit 8c3a28acf4ab27d97c25808b4909efec06c70b05 1 parent 2e70260
@rcbm rcbm authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/mls/models/listing.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.