Sha256: 43fb560f07a58573efb28c0240eedb39eb3fce03ac40ac1b001e9a9ac57951c0

Contents?: true

Size: 624 Bytes

Versions: 2

Compression:

Stored size: 624 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Content < API

    class << self

      def get(user, repo, path, params, options)
        output options do
          github_api(options).repos.contents.get user, repo, path, params
        end
      end

      def readme(user, repo, params, options)
        output options do
          github_api(options).repos.contents.readme user, repo, params
        end
      end

      def archive(user, repo, params, options)
        output options do
          github_api(options).repos.contents.archive user, repo, params
        end
      end
    end

  end # Content
end # GithubCLI

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.6.1 lib/github_cli/apis/content.rb
github_cli-0.6.0 lib/github_cli/apis/content.rb