Sha256: c456d259ba7b347bf607a7bf820b9f47d4fdb7dc6f0038b7d18a7985aa81ac3c

Contents?: true

Size: 733 Bytes

Versions: 3

Compression:

Stored size: 733 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Issue < API

    class << self

      def all(arg, params, options)
        output options do
          github_api(options).issues.list arg, params
        end
      end

      def get(user, repo, id, params, options)
        output options do
          github_api(options).issues.get user, repo, id, params
        end
      end

      def create(user, repo, params, options)
        output options do
          github_api(options).issues.create user, repo, params
        end
      end

      def edit(user, repo, id, params, options)
        output options do
          github_api(options).issues.edit user, repo, id, params
        end
      end
    end

  end # Issue
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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