examples/parse_messages.rb in socialcastr-0.1.3 vs examples/parse_messages.rb in socialcastr-0.2.0

- old
+ new

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