Sha256: b80f0bd3ab52ab8c18367cc18ee58691f2a13c4259cf7721a59efb3d319a11e1
Contents?: true
Size: 822 Bytes
Versions: 3
Compression:
Stored size: 822 Bytes
Contents
module FlexmlsApi module Models class MarketStatistics < Base self.element_name="marketstatistics" def self.absorption(parameters={}) self.stat('absorption',parameters) end def self.inventory(parameters={}) self.stat('inventory',parameters) end def self.price(parameters={}) self.stat('price',parameters) end def self.ratio(parameters={}) self.stat('ratio',parameters) end def self.dom(parameters={}) self.stat('dom',parameters) end def self.volume(parameters={}) self.stat('volume',parameters) end private def self.stat(stat_name, parameters={}) resp = connection.get("#{path}/#{stat_name}", parameters) new(resp[0]) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flexmls_api-0.3.6 | lib/flexmls_api/models/market_statistics.rb |
flexmls_api-0.3.3 | lib/flexmls_api/models/market_statistics.rb |
flexmls_api-0.3.2 | lib/flexmls_api/models/market_statistics.rb |