Method: Bitly::API::Client#user

Defined in:
lib/bitly/api/client.rb

#userBitly::API::User

Gets the authorized user from the API. [‘GET /v4/user`](dev.bitly.com/api-reference/#getUser)

Examples:

user = client.user

Returns:



303
304
305
# File 'lib/bitly/api/client.rb', line 303

def user
  User.fetch(client: self)
end