lib/mls/models/listing.rb in mls-0.9.6 vs lib/mls/models/listing.rb in mls-0.9.8

- old
+ new

@@ -50,11 +50,16 @@ property :available_on, DateTime property :term, Fixnum property :term_units, String, :default => 'years' + property :weekday_hours, String + property :saturday_hours, String + property :sunday_hours, String + property :offices, Fixnum + property :desks, Fixnum property :conference_rooms, Fixnum property :bathrooms, Fixnum property :kitchen, Boolean property :showers, Boolean @@ -81,10 +86,10 @@ property :avatar_digest, String, :serialize => false # Counter Caches property :photos_count, Fixnum, :serialize => :false - attr_accessor :address, :agents, :account, :photos, :flyer, :floorplan, :videos, :similar_photos + attr_accessor :address, :agents, :account, :photos, :flyer, :floorplan, :videos, :similar_photos, :spaces def avatar(size='150x100#', protocol='http') if avatar_digest "#{protocol}://#{MLS.image_host}/#{avatar_digest}.jpg?s=#{URI.escape(size)}" else