Sha256: a2614bf457ff3a401fbdd4fa55414e42e7430f612b95b363dcd84f22a88159bd

Contents?: true

Size: 456 Bytes

Versions: 3

Compression:

Stored size: 456 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Commit < API

    class << self

      def get(user, repo, sha, params, options)
        output options do
          github_api(options).git_data.commits.get user, repo, sha, params
        end
      end

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

  end # Commit
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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