Class: FlexmlsApi::Models::MarketStatistics

Inherits:
Base
  • Object
show all
Defined in:
lib/flexmls_api/models/market_statistics.rb

Constant Summary

Constants included from Paginate

Paginate::DEFAULT_PAGE_SIZE

Instance Attribute Summary

Attributes inherited from Base

#attributes, #changed, #errors

Class Method Summary collapse

Methods inherited from Base

#connection, connection, count, element_name, element_name=, first, get, #initialize, #load, #method_missing, #parse_id, path, prefix, prefix=, #respond_to?

Methods included from Paginate

#collect, #paginate, #per_page

Constructor Details

This class inherits a constructor from FlexmlsApi::Models::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FlexmlsApi::Models::Base

Class Method Details

.absorption(parameters = {}) ⇒ Object



6
7
8
# File 'lib/flexmls_api/models/market_statistics.rb', line 6

def self.absorption(parameters={})
  self.stat('absorption',parameters)
end

.dom(parameters = {}) ⇒ Object



18
19
20
# File 'lib/flexmls_api/models/market_statistics.rb', line 18

def self.dom(parameters={})
  self.stat('dom',parameters)
end

.inventory(parameters = {}) ⇒ Object



9
10
11
# File 'lib/flexmls_api/models/market_statistics.rb', line 9

def self.inventory(parameters={})
  self.stat('inventory',parameters)
end

.price(parameters = {}) ⇒ Object



12
13
14
# File 'lib/flexmls_api/models/market_statistics.rb', line 12

def self.price(parameters={})
  self.stat('price',parameters)
end

.ratio(parameters = {}) ⇒ Object



15
16
17
# File 'lib/flexmls_api/models/market_statistics.rb', line 15

def self.ratio(parameters={})
  self.stat('ratio',parameters)
end

.volume(parameters = {}) ⇒ Object



21
22
23
# File 'lib/flexmls_api/models/market_statistics.rb', line 21

def self.volume(parameters={})
  self.stat('volume',parameters)
end