Class: Zoopla::Sales

Inherits:
API
  • Object
show all
Includes:
Listing
Defined in:
lib/zoopla/listings/sales.rb

Overview

Searches for sales listings

Instance Method Summary collapse

Methods included from Listing

#beds, #each, #flats, #houses, #in, #keywords, #listing_id, #maximum_beds, #maximum_price, #minimum_beds, #minimum_price, #order_by, #ordering, #price, #property_type, #within

Methods inherited from API

#actual_location, #initialize, #reset!

Constructor Details

This class inherits a constructor from Zoopla::API

Instance Method Details

#include_soldSales

Whether to include property listings that are already sold in the results

Returns:



10
11
12
13
# File 'lib/zoopla/listings/sales.rb', line 10

def include_sold
  @request[:include_sold] = '1'
  self
end