Sha256: ff937dfa0a3d8e26b28e6ec6015765a14637b05cb7e516b8fc8477ac32c3cb78
Contents?: true
Size: 412 Bytes
Versions: 3
Compression:
Stored size: 412 Bytes
Contents
$:.unshift("./lib") require 'rubygems' require 'socialcastr' Socialcastr.configuration do |config| config.username = "username" config.password = "password" config.domain = "domain" end xml = File.read("~/Download/socialcast.xml") start_time = Time.new messages = Socialcastr::Message.parse_collection(xml) end_time = Time.new puts "Found #{messages.count} messages in #{end_time - start_time} seconds"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
socialcastr-0.1.3 | examples/parse_messages.rb |
socialcastr-0.1.2 | examples/parse_messages.rb |
socialcastr-0.1.1 | examples/parse_messages.rb |