Class: Alt::Property
- Inherits:
-
Object
- Object
- Alt::Property
- Defined in:
- lib/alt/property.rb
Overview
Embeds the logic of a Realtor property.
Constant Summary collapse
- HOST =
The RapidAPI host serving the Realtor data.
'realty-in-us.p.rapidapi.com'
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ Property
constructor
A new instance of Property.
-
#property_details ⇒ Hash
Details about the property.
Constructor Details
#initialize(data = {}) ⇒ Property
Returns a new instance of Property.
14 15 16 |
# File 'lib/alt/property.rb', line 14 def initialize(data = {}) @data = data end |
Instance Method Details
#property_details ⇒ Hash
Returns Details about the property.
19 |
# File 'lib/alt/property.rb', line 19 def property_details = details |