lib/rhoconnect/client.rb in rhoconnect-4.0.0.beta.12 vs lib/rhoconnect/client.rb in rhoconnect-4.0.0.beta.24
- old
+ new
@@ -95,11 +95,11 @@
flush_source_documents(sourcename)
end
end
def flush_source_documents(source_name)
- self.class.valid_doctypes.each do |doctype|
- flush_source_data(doctype, source_name)
+ self.class.valid_doctypes.each do |docname, doctype|
+ flush_source_data(docname, source_name)
end
end
def flush_source_data(doctype, from_source)
verify_doctype(doctype)
\ No newline at end of file