Sha256: a12ab10ad61d8fd8df96fce4e96a0e062ce5510c873b0840500449d66f558079

Contents?: true

Size: 448 Bytes

Versions: 3

Compression:

Stored size: 448 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Blob < API

    class << self

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

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

  end # Blob
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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