Sha256: 3104b482c5c843143d13efeed6f1c1a8e44b788ec85c1fdc233d43af29dd66e8

Contents?: true

Size: 717 Bytes

Versions: 2

Compression:

Stored size: 717 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Reference < API

    class << self

      def list(user, repo, ref, params)
        github_api.git_data.references.list user, repo, ref, params
      end

      def get(user, repo, ref, params)
        github_api.git_data.references.get user, repo, ref, params
      end

      def create(user, repo, params)
        github_api.git_data.references.create user, repo, params
      end

      def update(user, repo, ref, params)
        github_api.git_data.references.update user, repo, ref, params
      end

      def delete(user, repo, ref, params)
        github_api.git_data.references.delete user, repo, ref, params
      end
    end

  end # Reference
end # GithubCLI

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.2.1 lib/github_cli/apis/reference.rb
github_cli-0.2.0 lib/github_cli/apis/reference.rb