Sha256: 2c300e06be66e18d81c0201c945df3ee54841afbf2fe2530d2e1a6814a28c06a

Contents?: true

Size: 1.15 KB

Versions: 15

Compression:

Stored size: 1.15 KB

Contents

# encoding: utf-8

module GithubCLI
  class Member < API

    class << self

      def all(org, params, format)
        output format do
          github_api.orgs.members.list org, params
        end
      end

      def all_public(org, params, format)
        output format do
          github_api.orgs.members.list_public org, params
        end
      end

      def member?(org, user, params, format)
        output format do
          github_api.orgs.members.member? org, user, params
        end
      end

      def public_member?(org, user, params, format)
        output format do
          github_api.orgs.members.public_member? org, user, params
        end
      end

      def delete(org, user, params, format)
        output format do
          github_api.orgs.members.delete org, user, params
        end
      end

      def publicize(org, user, params, format)
        output format do
          github_api.orgs.members.publicize org, user, params
        end
      end

      def conceal(org, user, params, format)
        output format do
          github_api.orgs.members.conceal org, user, params
        end
      end
    end

  end # Member
end # GithubCLI

Version data entries

15 entries across 15 versions & 1 rubygems

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