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
|
# File 'lib/lodging/characterization.rb', line 4
def self.included(base)
base.characterize do
has :date
has :rooms
has :duration, :measures => :time
has :zip_code
has :city
has :state
has :country
has :lodging_class
has :heating_degree_days
has :cooling_degree_days
has :property do |prop|
prop.name
end
has :property_rooms
has :floors
has :construction_year
has :ac_coverage
has :refrigerator_coverage
has :hot_tubs
has :outdoor_pools
has :indoor_pools
end
end
|