Sha256: 25004f509fa46ae13e956797e0a06696c6b343283f2de3d997e10a385e7f070b

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Blob < API

    class << self

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

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

  end # Blob
end # GithubCLI

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
github_cli-0.4.2 lib/github_cli/apis/blob.rb
github_cli-0.4.1 lib/github_cli/apis/blob.rb
github_cli-0.4.0 lib/github_cli/apis/blob.rb
github_cli-0.3.1 lib/github_cli/apis/blob.rb
github_cli-0.3.0 lib/github_cli/apis/blob.rb