Sha256: 4190cd3cf66ece07326fa37544cd61a4be9bec19ad9b8ddd8ec1e6fcdfb3c798

Contents?: true

Size: 454 Bytes

Versions: 3

Compression:

Stored size: 454 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Tree < API

    class << self

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

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

  end # Repository
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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