Class: NwmlsClient::Residential
- Defined in:
- lib/nwmls_client/residential.rb
Constant Summary
Constants inherited from Listing
Listing::AMENITY_FILE, Listing::DEFAULT_PTYP, Listing::DEFAULT_SCHEMA_NAME, Listing::MLS
Instance Attribute Summary
Attributes inherited from Listing
#criteria, #mls, #password, #schema_name, #user_id
Instance Method Summary collapse
-
#initialize(config, criteria = {}) ⇒ Residential
constructor
A new instance of Residential.
Methods inherited from Listing
Constructor Details
#initialize(config, criteria = {}) ⇒ Residential
Returns a new instance of Residential.
8 9 10 11 12 13 |
# File 'lib/nwmls_client/residential.rb', line 8 def initialize(config, criteria = {}) criteria[:property_code] = "RESI" criteria[:property_type] = :residential @criteria = criteria super(config, @criteria) end |