Sha256: 4a008ff43f6f668bbf04a87e2244aaff93ed4d3e5c1c2bbb85c97d6bcd313ab7

Contents?: true

Size: 851 Bytes

Versions: 15

Compression:

Stored size: 851 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Follower < API

    class << self

      def all(user, params, format)
        output format do
          github_api.users.followers.list user, params
        end
      end

      def following(user, params, format)
        output format do
          github_api.users.followers.following user, params
        end
      end

      def follower(user, params, format)
        output format do
          github_api.users.followers.following? user, params
        end
      end

      def follow(user, params, format)
        output format do
          github_api.users.followers.follow user, params
        end
      end

      def unfollow(user, params, format)
        output format do
          github_api.users.followers.unfollow user, params
        end
      end
    end

  end # Follower
end # GithubCLI

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
github_cli-0.5.9 lib/github_cli/apis/follower.rb
github_cli-0.5.8 lib/github_cli/apis/follower.rb
github_cli-0.5.7 lib/github_cli/apis/follower.rb
github_cli-0.5.6 lib/github_cli/apis/follower.rb
github_cli-0.5.5 lib/github_cli/apis/follower.rb
github_cli-0.5.4 lib/github_cli/apis/follower.rb
github_cli-0.5.3 lib/github_cli/apis/follower.rb
github_cli-0.5.2 lib/github_cli/apis/follower.rb
github_cli-0.5.1 lib/github_cli/apis/follower.rb
github_cli-0.5.0 lib/github_cli/apis/follower.rb
github_cli-0.4.4 lib/github_cli/apis/follower.rb
github_cli-0.4.3 lib/github_cli/apis/follower.rb
github_cli-0.4.2 lib/github_cli/apis/follower.rb
github_cli-0.4.1 lib/github_cli/apis/follower.rb
github_cli-0.4.0 lib/github_cli/apis/follower.rb