mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 04:37:30 +02:00
11 lines
296 B
Ruby
11 lines
296 B
Ruby
module Repp
|
|
module V1
|
|
class AccountsController < BaseController
|
|
def balance
|
|
resp = { balance: current_user.registrar.cash_account.balance,
|
|
currency: current_user.registrar.cash_account.currency }
|
|
render_success(data: resp)
|
|
end
|
|
end
|
|
end
|
|
end
|