Sha256: 2a5aa0afb8f0fb909f35c011f69f5d1848b91b8adcdbce72538f04c5bec1a81b

Contents?: true

Size: 704 Bytes

Versions: 1

Compression:

Stored size: 704 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Reference < API

    class << self

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

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

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

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

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

  end # Reference
end # GithubCLI

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_cli-0.1.3 lib/github_cli/apis/reference.rb