Class: NwmlsClient::Rental
- Defined in:
- lib/nwmls_client/rental.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 = {}) ⇒ Rental
constructor
A new instance of Rental.
Methods inherited from Listing
Constructor Details
#initialize(config, criteria = {}) ⇒ Rental
7 8 9 10 11 12 |
# File 'lib/nwmls_client/rental.rb', line 7 def initialize(config, criteria = {}) criteria[:property_code] = "RENT" criteria[:property_type] = :rental @criteria = criteria super(config, @criteria) end |