Sha256: 57d25c91814ac22e104d5a463826037c568f9620b1276627d81f085e3d4b522f

Contents?: true

Size: 270 Bytes

Versions: 2

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

module Kruger
  class Client
    module Users
      def whoami
        get('/users/me', access_token: @access_token)
      end

      def user(login:)
        get("/users/#{login}", access_token: @access_token)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kruger-0.1.1 lib/kruger/client/users.rb
kruger-0.1.0 lib/kruger/client/users.rb