module Uphold::API::User

Public Instance Methods

me() click to toggle source
# File lib/uphold/api/user.rb, line 4
def me
  request_data = RequestData.new(
    Endpoints::USER,
    Entities::User,
    authorization_header
  )
  Request.perform_with_object(:get, request_data)
end
phones() click to toggle source
# File lib/uphold/api/user.rb, line 13
def phones
  request_data = RequestData.new(
    Endpoints::USER_PHONES,
    Entities::Phone,
    authorization_header
  )
  Request.perform_with_objects(:get, request_data)
end