4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/automobile_trip/characterization.rb', line 4
def self.included(base)
base.characterize do
has :date
has :country
has :make
has :make_year
has :make_model
has :make_model_year
has :make_model_year_variant
has :size_class
has :hybridity
has :urbanity_estimate
has :hybridity_multiplier
has :fuel_efficiency
has :speed
has :city_speed
has :highway_speed
has :duration
has :origin
has :destination
has :distance
has :fuel_use
has :automobile_fuel has(:mapquest_api_key) { 'secret key' }
end
end
|