lib/ine/places/autonomous_regions_collection.rb in ine-places-0.2.0 vs lib/ine/places/autonomous_regions_collection.rb in ine-places-0.3.0
- old
+ new
@@ -8,10 +8,10 @@
end
def self.build_from_raw_data(raw_data)
INE::Places::AutonomousRegion.new({
id: raw_data[0], name: raw_data[1], slug: raw_data[2],
- lon: raw_data[3], lat: raw_data[4]
+ lon: raw_data[3], lat: raw_data[4], name_ca: raw_data[5]
})
end
private_class_method :build_from_raw_data
end