Sha256: 13d548400cc4abaaef3ff70b4d4b42886be7e09e89b00a4baa27dc6e941fa3b4

Contents?: true

Size: 378 Bytes

Versions: 10

Compression:

Stored size: 378 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class User < API

    class << self

      def get(user, params, format)
        output format do
          github_api.users.get params.update(:user => user)
        end
      end

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

  end # User
end # GithubCLI

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
github_cli-0.5.4 lib/github_cli/apis/user.rb
github_cli-0.5.3 lib/github_cli/apis/user.rb
github_cli-0.5.2 lib/github_cli/apis/user.rb
github_cli-0.5.1 lib/github_cli/apis/user.rb
github_cli-0.5.0 lib/github_cli/apis/user.rb
github_cli-0.4.4 lib/github_cli/apis/user.rb
github_cli-0.4.3 lib/github_cli/apis/user.rb
github_cli-0.4.2 lib/github_cli/apis/user.rb
github_cli-0.4.1 lib/github_cli/apis/user.rb
github_cli-0.4.0 lib/github_cli/apis/user.rb