examples/parse_messages.rb in socialcastr-0.1.0 vs examples/parse_messages.rb in socialcastr-0.1.1

- old
+ new

@@ -6,11 +6,11 @@ config.username = "username" config.password = "password" config.domain = "domain" end -xml = File.read("/Users/bru/Desktop/socialcast.xml") +xml = File.read("~/Download/socialcast.xml") start_time = Time.new -messages = Socialcastr::Message.parse(xml) +messages = Socialcastr::Message.parse_collection(xml) end_time = Time.new puts "Found #{messages.count} messages in #{end_time - start_time} seconds"