Sha256: d6628b180f65f55f4cabe657098818a983403d914a864f7ccaf04c5a17ed0e1d

Contents?: true

Size: 509 Bytes

Versions: 4

Compression:

Stored size: 509 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Organization < API

    class << self

      def list(user, params, format)
        output format do
          github_api.orgs.list user, params
        end
      end

      def get(org, params, format)
        output format do
          github_api.orgs.get org, params
        end
      end

      def edit(org, params, format)
        output format do
          github_api.orgs.edit org, params
        end
      end
    end

  end # Organization
end # GithubCLI

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
github_cli-0.4.3 lib/github_cli/apis/organization.rb
github_cli-0.4.2 lib/github_cli/apis/organization.rb
github_cli-0.4.1 lib/github_cli/apis/organization.rb
github_cli-0.4.0 lib/github_cli/apis/organization.rb