Sha256: 9f605cc15f5891ffbd0190dd1bdd8a213050f07ac53a608993e77044900267ff

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Organization < API

    class << self

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

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

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

  end # Organization
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
github_cli-0.6.2 lib/github_cli/apis/organization.rb
github_cli-0.6.1 lib/github_cli/apis/organization.rb
github_cli-0.6.0 lib/github_cli/apis/organization.rb