Sha256: 18e7465704a64b41ebd12b95a7715df3c9672dd9e74ac346b18972330871832c

Contents?: true

Size: 411 Bytes

Versions: 20

Compression:

Stored size: 411 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("/Users/bru/Downloads/socialcast.xml")
start_time = Time.new
messages = Socialcastr::Message.parse(xml)
end_time = Time.new

puts "Found #{messages.count} messages in #{end_time - start_time} seconds"

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
socialcastr-0.2.19 examples/parse_messages.rb
socialcastr-0.2.18 examples/parse_messages.rb
socialcastr-0.2.17 examples/parse_messages.rb
socialcastr-0.2.16 examples/parse_messages.rb
socialcastr-0.2.15 examples/parse_messages.rb
socialcastr-0.2.14 examples/parse_messages.rb
socialcastr-0.2.13 examples/parse_messages.rb
socialcastr-0.2.12 examples/parse_messages.rb
socialcastr-0.2.11 examples/parse_messages.rb
socialcastr-0.2.10 examples/parse_messages.rb
socialcastr-0.2.9 examples/parse_messages.rb
socialcastr-0.2.8 examples/parse_messages.rb
socialcastr-0.2.7 examples/parse_messages.rb
socialcastr-0.2.6 examples/parse_messages.rb
socialcastr-0.2.5 examples/parse_messages.rb
socialcastr-0.2.4 examples/parse_messages.rb
socialcastr-0.2.3 examples/parse_messages.rb
socialcastr-0.2.2 examples/parse_messages.rb
socialcastr-0.2.1 examples/parse_messages.rb
socialcastr-0.2.0 examples/parse_messages.rb