Sha256: f4a6273b033919ea4674522fd2294c9b3a289568bd9a78d68b4e8e521211f7ba

Contents?: true

Size: 476 Bytes

Versions: 70

Compression:

Stored size: 476 Bytes

Contents

require File.join(File.dirname(__FILE__), '..', 'lib', 'twitter')
require File.join(File.dirname(__FILE__), 'helpers', 'config_store')
require 'pp'

config = ConfigStore.new("#{ENV['HOME']}/.twitter")

oauth = Twitter::OAuth.new(config['token'], config['secret'])
oauth.authorize_from_access(config['atoken'], config['asecret'])

client = Twitter::Base.new(oauth)

puts client.friendship_exists?('jnunemaker', 'orderedlist')
puts client.friendship_exists?('jnunemaker', 'biz')

Version data entries

70 entries across 70 versions & 28 rubygems

Version Path
arthurgeek-twitter-0.6.15 examples/friendship_existance.rb
bkocik-twitter-0.6.10 examples/friendship_existance.rb
bkocik-twitter-0.6.8 examples/friendship_existance.rb
bkocik-twitter-0.6.9 examples/friendship_existance.rb
bkocik-twitter-0.7.0 examples/friendship_existance.rb
cicloid-twitter-0.6.1 examples/friendship_existance.rb
cicloid-twitter-0.6.2 examples/friendship_existance.rb
codetocustomer-twitter-0.6.14 examples/friendship_existance.rb
dacort-twitter-0.6.5 examples/friendship_existance.rb
ddollar-twitter-0.6.15 examples/friendship_existance.rb
ddollar-twitter-0.6.16 examples/friendship_existance.rb
ddollar-twitter-0.6.17 examples/friendship_existance.rb
ddollar-twitter-0.7.0 examples/friendship_existance.rb
deadprogrammer-twitter-0.6.11 examples/friendship_existance.rb
deadprogrammer-twitter-0.6.12 examples/friendship_existance.rb
deadprogrammer-twitter-0.6.7 examples/friendship_existance.rb
deedubs-twitter-0.7.0 examples/friendship_existance.rb
deedubs-twitter-0.8.0 examples/friendship_existance.rb
egze-twitter-0.6.13 examples/friendship_existance.rb
erwaller-twitter-0.6.13.1 examples/friendship_existance.rb