Sha256: 8662a7c10b5ef0ae0913736096040684293865ea9ae09280283bc6d78da81022

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Tag < API

    class << self

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

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

  end # Tag
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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