lib/wagon/ward.rb in wagon-0.9.1 vs lib/wagon/ward.rb in wagon-0.9.2
- old
+ new
@@ -9,10 +9,10 @@
def directory_path
@directory_path ||= self.at('a.directory[href^="/units/a/directory"]')['href']
end
def directory
- @directory ||= Directory.new(connection, directory_path)
+ @directory ||= Directory.new(connection, directory_path, self)
end
def households
directory.households
end
\ No newline at end of file