Module: Energy

Defined in:
lib/energy.rb,
lib/energy/config.rb,
lib/energy/flight.rb,
lib/energy/version.rb,
lib/energy/consumer.rb,
lib/energy/rail_trip.rb,
lib/energy/automobile_trip.rb

Defined Under Namespace

Classes: AutomobileTrip, Config, Consumer, Flight, RailTrip

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configObject

Set configuration variables like

Energy.config[:key] = '456'

You can get your key at keys.brighterplanet.com



16
17
18
# File 'lib/energy.rb', line 16

def self.config
  Config.instance
end