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
erwaller-twitter-0.6.13 examples/friendship_existance.rb
erwaller-twitter-0.6.15.1 examples/friendship_existance.rb
erwaller-twitter-0.6.15 examples/friendship_existance.rb
jnunemaker-twitter-0.5.1 examples/friendship_existance.rb
jnunemaker-twitter-0.5.2 examples/friendship_existance.rb
jnunemaker-twitter-0.5.3 examples/friendship_existance.rb
jnunemaker-twitter-0.6.0 examples/friendship_existance.rb
jnunemaker-twitter-0.6.1 examples/friendship_existance.rb
jnunemaker-twitter-0.6.10 examples/friendship_existance.rb
jnunemaker-twitter-0.6.11 examples/friendship_existance.rb
jnunemaker-twitter-0.6.12 examples/friendship_existance.rb
jnunemaker-twitter-0.6.13 examples/friendship_existance.rb
jnunemaker-twitter-0.6.14 examples/friendship_existance.rb
jnunemaker-twitter-0.6.15 examples/friendship_existance.rb
jnunemaker-twitter-0.6.2 examples/friendship_existance.rb
jnunemaker-twitter-0.6.3 examples/friendship_existance.rb
jnunemaker-twitter-0.6.4 examples/friendship_existance.rb
jnunemaker-twitter-0.6.5 examples/friendship_existance.rb
jnunemaker-twitter-0.6.6 examples/friendship_existance.rb
jnunemaker-twitter-0.6.7 examples/friendship_existance.rb