Sha256: 0ff07e8979360862994a16d4dd416bff83510cea28c9d9555ce15fdcca0fa47b
Contents?: true
Size: 682 Bytes
Versions: 1
Compression:
Stored size: 682 Bytes
Contents
# encoding: utf-8 require 'github_cli/command' module GithubCLI class Blobs < Command namespace :blob desc 'get <user> <repo> <sha>', 'Get a Blob' method_option :params, :type => :hash, :default => {}, :desc => 'Additonal request parameters e.i per_page:100' def get(user, repo) Blob.get user, repo, options[:params] end desc 'create <user> <repo>', 'Create a new Blob' method_option :params, :type => :hash, :default => {}, :desc => 'Additonal request parameters e.i per_page:100' def create(user, repo, sha) Blob.create user, repo, sha, options[:params] end end # Blobs end # GithubCLI
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.1.0 | lib/github_cli/blobs.rb |