twitter-ruby

https://github.com/sferik/twitter-ruby

Ruby

A Ruby interface to the Twitter API.

Twitter::REST::FriendsAndFollowers#friendships

Returns the relationship of the authenticating user to the comma separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none.

Source | Google | Stack overflow

Edit

git clone [email protected]:sferik/twitter-ruby.git

cd twitter-ruby

open lib/twitter/rest/friends_and_followers.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Twitter--REST--FriendsAndFollowers-friendships-for-pr


# Commit to git

git add lib/twitter/rest/friends_and_followers.rbgit commit -m "better docs for Twitter::REST::FriendsAndFollowers#friendships"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Twitter--REST--FriendsAndFollowers-friendships-for-pr

hub pull-request


# Celebrate!