Tentacat v0.7.2 Tentacat.Users.Followers

Summary

Functions

Follow given user

List users the authenticated user follows

List users the given user follows

List followers for the authenticated user

List followers for given user

Check if authenticated user follows given user

Check if given user follows another given user

Unfollow given user

Functions

follow(target_user, client)

Follow given user.

Example

Tentacat.Users.Followers.follow "edgurgel", client

More info at: https://developer.github.com/v3/users/followers/#follow-a-user

followers(client)

Specs

List users the authenticated user follows

Example

Tentacat.Users.Followers.followers client

More info at: http://developer.github.com/v3/users/followers/#list-followers-of-a-user

followers(user_name, client)

List users the given user follows

Example

Tentacat.Users.Followers.followers "edgurgel", client

More info at: http://developer.github.com/v3/users/followers/#list-followers-of-a-user

following(client)

Specs

List followers for the authenticated user

Example

Tentacat.Users.Followers.following client

More info at: http://developer.github.com/v3/users/followers/#list-users-followed-by-another-user

following(client, options)

List followers for given user

Example

Tentacat.Users.Followers.following "edgurgel", client

More info at: http://developer.github.com/v3/users/followers/#list-users-followed-by-another-user

following(user_name, client, options)
following?(target_user, client)

Check if authenticated user follows given user.

Example

Tentacat.Users.Followers.following? "edgurgel", client

More info at: https://developer.github.com/v3/users/followers/#check-if-you-are-following-a-user

following?(user_name, target_user, client)

Check if given user follows another given user.

Example

Tentacat.Users.Followers.following? "edgurgel", "iurifq", client

More info at: https://developer.github.com/v3/users/followers/#check-if-one-user-follows-another

unfollow(target_user, client)

Unfollow given user.

Example

Tentacat.Users.Followers.unfollow "edgurgel", client

More info at: https://developer.github.com/v3/users/followers/#unfollow-a-user