Sha256: 8bfb8f6fd8d6eee689b8c52316906790704512c89259269eae5bd0e0a3cde12e
Contents?: true
Size: 947 Bytes
Versions: 3
Compression:
Stored size: 947 Bytes
Contents
# encoding: utf-8 module GithubCLI class Follower < API class << self def all(user, params, options) args = user ? [user, params] : [params] output options do github_api(options).users.followers.list *args end end def following(user, params, options) output options do github_api(options).users.followers.following user, params end end def follower(user, params, options) output options do github_api(options).users.followers.following? user, params end end def follow(user, params, options) output options do github_api(options).users.followers.follow user, params end end def unfollow(user, params, options) output options do github_api(options).users.followers.unfollow user, params end end end end # Follower end # GithubCLI
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.6.2 | lib/github_cli/apis/follower.rb |
github_cli-0.6.1 | lib/github_cli/apis/follower.rb |
github_cli-0.6.0 | lib/github_cli/apis/follower.rb |