Sha256: eccefd2b1743259f7e76b1feb4b234057e4f7ab06a1b16987e770da9ee27cda8

Contents?: true

Size: 516 Bytes

Versions: 38

Compression:

Stored size: 516 Bytes

Contents

require 'rubygems'
require File.join(File.dirname(__FILE__), '..', 'lib', 'twitter')
config = YAML::load(open(ENV['HOME'] + '/.twitter'))

twitter = Twitter::Base.new(config['email'], config['password'])

puts twitter.create_friendship('orderedlist').name
puts twitter.follow('orderedlist').name
puts twitter.leave('orderedlist').name
puts twitter.destroy_friendship('orderedlist').name

puts twitter.friendship_exists?('jnunemaker', 'orderedlist').inspect
puts twitter.friendship_exists?('jnunemaker', 'ze').inspect

Version data entries

38 entries across 38 versions & 15 rubygems

Version Path
jnunemaker-twitter-0.2.8 examples/friendships.rb
jnunemaker-twitter-0.3.1 examples/friendships.rb
jnunemaker-twitter-0.3.4 examples/friendships.rb
jnunemaker-twitter-0.3.5 examples/friendships.rb
jnunemaker-twitter-0.3.6 examples/friendships.rb
jnunemaker-twitter-0.3.7 examples/friendships.rb
jnunemaker-twitter-0.3.8 examples/friendships.rb
jnunemaker-twitter-0.4.0 examples/friendships.rb
jnunemaker-twitter-0.4.1 examples/friendships.rb
jnunemaker-twitter-0.4.2 examples/friendships.rb
jnunemaker-twitter-0.4.4 examples/friendships.rb
lazyatom-twitter-0.4.2.1 examples/friendships.rb
netshade-twitter-0.4.2.1 examples/friendships.rb
neufelry-twitter-0.4.2 examples/friendships.rb
pjdavis-twitter-0.3.8 examples/friendships.rb
pjdavis-twitter-0.3.9 examples/friendships.rb
pjdavis-twitter-0.4.2 examples/friendships.rb
ubermajestix-twitter-0.4.2 examples/friendships.rb