Sha256: a480789a31b10fd02cf091081482fe86189a63b63cf287249be1409b908f5798

Contents?: true

Size: 499 Bytes

Versions: 3

Compression:

Stored size: 499 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class User < API

    class << self

      def all(params, options)
        output options do
          github_api(options).users.all params
        end
      end

      def get(params, options)
        output options do
          github_api(options).users.get params
        end
      end

      def update(params, options)
        output options do
          github_api(options).users.update params
        end
      end
    end

  end # User
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

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