Module: BrighterPlanet::Computation::Data
- Defined in:
- lib/computation/data.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/computation/data.rb', line 4 def self.included(base) base.data_miner do schema do float 'duration' integer 'ec2_compute_units' string 'zip_code_name' float 'electricity_intensity' float 'power_usage_effectiveness' end process :run_data_miner_on_belongs_to_associations end end |