Sha256: 67687fd001666ede0212ca67cc63ffec92897bd16a44f02e864e64bfd39154b0

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

Stored size: 463 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Status < API

    class << self

      def all(user, repo, sha, params, options)
        output options do
          github_api(options).repos.statuses.list user, repo, sha, params
        end
      end

      def create(user, repo, sha, params, options)
        output options do
          github_api(options).repos.statuses.create user, repo, sha, params
        end
      end
    end

  end # Status
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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