cdn/app/controllers/api/v4/users_controller.rb
2026-01-29 16:24:14 -05:00

15 lines
289 B
Ruby

# frozen_string_literal: true
module API
module V4
class UsersController < ApplicationController
def show
render json: {
id: current_user.public_id,
email: current_user.email,
name: current_user.name
}
end
end
end
end