Class: SparkApi::Models::MarketStatistics
- Inherits:
-
Base
- Object
- Base
- SparkApi::Models::MarketStatistics
show all
- Defined in:
- lib/spark_api/models/market_statistics.rb
Constant Summary
Constants included
from Paginate
Paginate::DEFAULT_PAGE_SIZE
Instance Attribute Summary
Attributes inherited from Base
#attributes, #errors, #parent
Class Method Summary
collapse
Methods inherited from Base
connection, #connection, count, element_name, element_name=, first, get, #id, #initialize, #load, #method_missing, #parse_id, path, #path, #persisted?, prefix, prefix=, #resource_pluralized, #resource_uri, #respond_to?, #to_param, #to_partial_path
Methods included from Paginate
#collect, #paginate, #per_page
Methods included from Dirty
#changed, #changed?, #changed_attributes, #changes, #dirty_attributes, #previous_changes
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class SparkApi::Models::Base
Class Method Details
.absorption(parameters = {}) ⇒ Object
6
7
8
|
# File 'lib/spark_api/models/market_statistics.rb', line 6
def self.absorption(parameters={})
self.stat('absorption',parameters)
end
|
.dom(parameters = {}) ⇒ Object
18
19
20
|
# File 'lib/spark_api/models/market_statistics.rb', line 18
def self.dom(parameters={})
self.stat('dom',parameters)
end
|
.inventory(parameters = {}) ⇒ Object
9
10
11
|
# File 'lib/spark_api/models/market_statistics.rb', line 9
def self.inventory(parameters={})
self.stat('inventory',parameters)
end
|
.price(parameters = {}) ⇒ Object
12
13
14
|
# File 'lib/spark_api/models/market_statistics.rb', line 12
def self.price(parameters={})
self.stat('price',parameters)
end
|
.ratio(parameters = {}) ⇒ Object
15
16
17
|
# File 'lib/spark_api/models/market_statistics.rb', line 15
def self.ratio(parameters={})
self.stat('ratio',parameters)
end
|
.volume(parameters = {}) ⇒ Object
21
22
23
|
# File 'lib/spark_api/models/market_statistics.rb', line 21
def self.volume(parameters={})
self.stat('volume',parameters)
end
|