Sha256: 714335c9932fda84dd39db16ee9f3de8a3f39ba0b638fab173e1935acfe9b638
Contents?: true
Size: 385 Bytes
Versions: 12
Compression:
Stored size: 385 Bytes
Contents
require 'learn_web/client/user/me' module LearnWeb class Client module User def me_endpoint "#{API_ROOT}/users/me" end def me response = get( me_endpoint, headers: { 'Authorization' => "Bearer #{token}" } ) LearnWeb::Client::User::Me.new(response, silent_output: silent_output) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems